Method Sql.Sql()->encode_datetime()


Method encode_datetime

string encode_datetime(int t)

Description

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

Parameter t

Time to encode.