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


Method encode_datetime

string encode_datetime(int time)

Description

Converts a system time value to an appropriately formatted date and time spec for the database.

Parameter time

Time to encode.

The default implementation returns an ISO 9601 timestamp.