DateOnly

The DateOnly() function only returns the date part without the time part of a date.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Syntax

DateOnly(datetime)

DateOnly('2016-05-02T05:37:44') =>Result: 5/2/2016

DateOnly(unknowndatetime) =>Result: unknowndatetime

Parameters

Name
Type
Required
Description

datetime

date time

☑️

a date

Last updated

Was this helpful?