PDA

View Full Version : batch scripting (W2K)



rdbatoo
02-27-2006, 02:10 PM
how can i display time in seconds? the following command can only display hour and mintue.

c:\>time/t
1:50p

motoflop
02-28-2006, 09:28 AM
WXP supports these, maybe W2K also:

echo %time%
set timenow=%time%
echo %date%
echo %random%