Extracted from Pike v7.4 release 341 at 2005-11-21.
pike.ida.liu.se
[Top]
predef::
Sql
Sql.mysql

Method Sql.mysql()->encode_date()


Method encode_date

string encode_date(int time)

Description

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

Parameter time

Time to encode.