SQL Notebook (logo)

GETDATE Function

Returns the current date and time, with time zone offset.

Syntax

GETDATE()

Return Value

A date string formatted like "2016-07-23 22:12:55.652 -04:00".

Examples