Function | Description |
---|---|
CURRENT_TIMESTAMP | Returns the current date and time |
DATEADD | Adds a time/date interval to a date and then returns the date |
DATEDIFF | Returns the difference between two dates |
DATEFROMPARTS | Returns a date from the specified parts (year, month, and day values) |
DATENAME | Returns a specified part of a date (as string) |