Extracted from Pike v7.8 release 352 at 2010-07-30.
pike.ida.liu.se
[Top]
Sql
Sql.Sql

Method Sql.Sql()->encode_date()


Method encode_date

string encode_date(int t)

Description

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

Parameter t

Time to encode.