Network commands
A good page here.
What applications are listening on what ports.
netstat -an
netstat -anb
Current Date Substring
C:\WINDOWS\system32>echo %date% Mon 02/23/2009 C:\WINDOWS\system32>echo %date:~4% 02/23/2009 C:\WINDOWS\system32>echo %date:~4,5% 02/23