Your Airkit journey starts here

DATETIME_FROM_FORMAT

Given a string and format, produce a datetime

Declaration

DATETIME_FROM_FORMAT(datetime_string, format_options, time_zone) -> datetime
DATETIME_FROM_FORMAT(date_string, format_options) -> datetime
DATETIME_FROM_FORMAT(date_string) -> datetime

Parameters

datetime_string
string -A string representing the format of the datetime to be converted.
format_options
string -A string defining the format of the date to be converted.
time_zone
string -Timezone of the date to be converted.
date_string
string -A string representing the format of the date to be converted.

Return Values

datetime
datetime -the resulting datetime of the string passed in.