Jump to content

get system time


Guest stanley
 Share

Recommended Posts

Yep, if you use NT/W2K/XP/? and ...

if Command Extensions are enabled, then there are several dynamic

environment variables that can be expanded but which don't show up i

the list of variables displayed by SET. These variable values are

computed dynamically each time the value of the variable is expanded

If the user explicitly defines a variable with one of these names, t

that definition will override the dynamic one described below:

%DATE% - expands to current date using same format as DATE command.

%TIME% - expands to current time using same format as TIME command.

:D

MsgBox, 0, My time is ..., %TIME%

Link to comment
Share on other sites

  • 1 year later...

Yep, if you use NT/W2K/XP/? and ...

if Command Extensions are enabled, then there are several dynamic

environment variables that can be expanded but which don't show up i

the list of variables displayed by SET.  These variable values are

computed dynamically each time the value of the variable is expanded

If the user explicitly defines a variable with one of these names, t

that definition will override the dynamic one described below:

%DATE% - expands to current date using same format as DATE command.

%TIME% - expands to current time using same format as TIME command.

:(

MsgBox, 0, My time is ..., %TIME%

<{POST_SNAPBACK}>

and HOW do you enable this?

Thanks,

Chris

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...