now Function

Top  Previous  Next

Gets the current date and time.

Syntax

DateTime.now()

Return Value

An integer that is the date/time value representing the current date and time.