Compartir a través de


Now Function

Returns the current date and time according to the setting of your computer's system date and time.

Now

Remarks

The following example uses the Now function to return the current date and time:

Dim MyVar
MyVar = Now ' MyVar contains the current date and time. 

Requirements

Version 1

See Also

Reference

Date Function

Day Function

Hour Function

Minute Function (VBScript)

Month Function

Second Function

Time Function

Weekday Function

Year Function