SQL Notebook (logo)

TO_DATETIMEOFFSET Function

Attempts to convert the input value to a date/time string formatted like "2016-08-06 22:11:30.948 -04:00".

Syntax

TO_DATETIME(input)

Arguments

Return Value

A date string formatted like "2016-08-06 22:11:30.948 -04:00".

Examples