SQL Notebook (logo)

TO_DATETIME Function

Attempts to convert the input value to a date/time string formatted like "2016-07-23 22:12:55.652".

Syntax

TO_DATETIME(input)

Arguments

Return Value

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

Examples