Your Airkit journey starts here

TIME_FROM_DATETIME

Get the time from a datetime.

Declaration

TIME_FROM_DATETIME(datetime, time_zone) -> time
TIME_FROM_DATETIME(datetime) -> time

Parameters

datetime
object -Any datetime.
time_zone
string -String representation of the time zone.

Return Values

time
time -Time object from the datetime.