Does anybody know how to obtain the system date in WSH ?
fhs.
Mon, 07 May 2001 03:00:00 GMT
DP30De #2 / 3
How to get system date ?
strDate = Date MsgBox Date
you can also format date strDate = FormatDateTime(Date, vbShortDate) 'this will give 11/19/98 or 11/19/1998 depending on what the sytem short date is set up to be mm/dd/yy or /yyyy
Quote:
>Does anybody know how to obtain the system date in WSH ?
>fhs.
Mon, 07 May 2001 03:00:00 GMT
Harjit S. Batr #3 / 3
How to get system date ?
If you are using JScript you could use:
// Get the system date/time down to the milliseconds now = new Date();
---------------------- Harjit S. Batra
Quote:
> Does anybody know how to obtain the system date in WSH ?