pike.hubbe.net

[Top]
Sql
Sql.mysql
previousSql.mysql()->decode_time() Sql.mysql()->encode_datetime()next

Method Sql.mysql()->encode_date()


Method encode_date

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


Extracted from Pike v7.3 release 11 at 2001-11-03.