Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Sql
Sql.mysql

Method Sql.mysql()->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.