Method __builtin.Sql.Connection()->decode_datetime()


Method decode_datetime

int decode_datetime(string datetime)

Description

Converts a database date and time spec to a system time value.

Parameter datetime

Date and time spec to decode.

Returns

Returns the number of seconds since 1970-01-01T00:00:00 UTC to the specified date and time in the current timezone.

The default implementation decodes an ISO 9601 timestamp.