

Higher-Precision System Date and Time Functions Transact-SQL derives all system date and time values from the operating system of the computer on which the instance of SQL Server runs. Function That Return System Date and Time Values See Deterministic and Nondeterministic Functions for more information about determinism. The following tables list the Transact-SQL date and time functions. timestamp is a deprecated synonym for rowversion. The Transact-SQL rowversion data type is not a date or time data type. The Transact-SQL date and time data types are listed in the following table: Data typeĠ0:00:00.0000000 through 23:59:59.9999999

Applies to: SQL Server (all supported versions) Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics
