Your Airkit journey starts here

DATETIME_FROM_TIMESTAMP

Convert a timestamp into a datetime object

Declaration

DATETIME_FROM_TIMESTAMP(number, type_of_unit) -> datetime
DATETIME_FROM_TIMESTAMP(number) -> datetime

Parameters

number
number -Number of units to be defined by format string
type_of_unit
string -A string defining the format of the date to be converted.

Return Values

datetime
datetime -Datetime object created by the timestamp entered.