> just tried this
> will also work
> 
> FOR /F "tokens=1" %%j IN ('time /t') DO SET thetime=%%j
> SET hh=%thetime:~0,2%
> SET mn=%thetime:~3,2%
> )

That works with one problem, need AM/PM or make it 24 hour clock.

John Tolmachoff
Engineer/Consultant/Owner
eServices For You



To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to