All datasets

Technology · Reference dataset

SQL Server Date Functions

SQL Server date functions and descriptions of their uses.

Download options
Look inside

Preview the records

The 10 most recently added of 13 records · Select a column heading to sort.

Preview of SQL Server Date Functions
ID Function Description
13 YEAR Returns the year part for a specified date
12 SYSDATETIME Returns the date and time of the SQL Server
11 MONTH Returns the month part for a specified date (a number from 1 to 12)
10 ISDATE Checks an expression and returns 1 if it is a valid date, otherwise 0
9 GETUTCDATE Returns the current database system UTC date and time
8 GETDATE Returns the current database system date and time
7 DAY Returns the day of the month for a specified date
6 DATEPART Returns a specified part of a date (as integer)
5 DATENAME Returns a specified part of a date (as string)
4 DATEFROMPARTS Returns a date from the specified parts (year, month, and day values)

CSV / JSON / XML

Put this data to work.

All 13 records, in your choice of format.

  • This dataset and the rest of the catalog
  • Complete CSV, JSON, and XML files
  • Category ZIPs and API access
Get a Data Pass: $69

365 days of access to the catalog. One payment, no automatic renewal.

Your key arrives by email after payment. Use it here to download the complete file.

Already have a pass?

Your key is used for this request and is not saved by this page.

Commercial use is allowed, free or paid.

Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.

Scope and sources

Last checked against sources: October 15, 2026.

Last changed: July 17, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.

A complete download includes all 13 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.

Use this dataset through the API
GET https://mysafeinfo.com/api/data/sqlserverdatefunctions

Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.

Without a pass, sorting and randomization apply only to the fixed 10-row sample.

More in Technology

SQL Keywords Country-Code Top-Level Domains HTTP Status Codes Microsoft Access Data Types MIME Types Programming Languages

Download a category with your pass