SYSDATETIME

Returns a datetime2(7) value that contains the date and time of the computer on which the instance of Lyftron is running.

Syntax

SYSDATETIME ( )

Return types

datetime2(7)

Example

SELECT SYSDATETIME() as [now];

See Also