Loading lesson path
Concept visual
Start at both ends
Return the current database system date and time:
GETDATE();The GETDATE() function returns the current database system date and time, in a
Formula
'YYYY - MM - DD hh:mm:ss.mmm' format.CURRENT_TIMESTAMP function.
datetime
SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse
❮ SQL Server Functions