toDateTimeOnly

Converts an argument value into a date time only value.

Category

Conversion

Function syntax

toDateTimeOnly(<parameters>)

Parameters

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

Signatures and returned types

toDateTimeOnly(<dateTime>)

toDateTimeOnly(<string>)

Return a datetime without considering time zone.

Examples

toDateTimeOnly ("2016-08-18T23:17:59.123Z")

Returns 2016-08-18T23:17:59.123.

toDateTimeOnly(now())

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free