Show Menu
ARGOMENTI×

toDateTimeOnly

Converts an argument value into a date time only value.

Category

Conversion

Function syntax

toDateTimeOnly(<parameters>)

Parameters

Parameter
Type
date time without time zone in ISO-8601 format
string
dateTime
dateTime

Signatures and returned types

toDateTimeOnly(<dateTime>)
toDateTimeOnly(<string>)
Return a datetime without considering time zone.

Examples

toDateTimeOnly ("2016-08-18T23:17:59.123")
Returns 2016-08-18T23:17:59.123.
toDateTimeOnly(now())