Date





For Date literals, use the DATETIME key literal. After the keyword, specify the year, month, day, hours, minutes, and seconds in parentheses, separated by commas. Specifying the time part is optional.

DATETIME(1975, 1, 06)
DATETIME(2006, 12, 2, 23, 56, 57)

In this example the first literal stands for January 6, 1975. The second literal stands for December 2, 2006, 11:56:57 PM.


Comments
0
Add comment