Your Airkit journey starts here

DATETIME_DELTA

Returns the number of years, months, days, hours, minutes, seconds between two datetimes.

Declaration

DATETIME_DELTA(datetime, datetime) -> delta

Parameters

datetime
datetime -Starting datetime.

Return Values

delta
datetime -The number of years, months, days, hours, minutes, seconds, or milliseconds between two datetimes.