Name
Date Function
Syntax
Date
Return Value
Date
returns a
Date.
Description
Returns the current system date.
Rules at a Glance
They don’t come any easier than this!
Programming Tips and Gotchas
To return both the current date and time in one variable, use the Now function.
See Also
Get VBScript in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.