on my computer, i have a 24h clock
not sure how the "time" display format can be changed, if yours is 12h AM/PM
----- Original Message -----
From: "John Tolmachoff (Lists)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 6:47 AM
Subject: RE: [IMail Forum] OT: command line variable
> > 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/
>
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/