Pike v8.1 release 6

Method Sql.mysql()->decode_date()


Method decode_date

int decode_date(string datestr)

Description

Converts a database date-only spec to a system time value. Assumes 4-digit years.

Parameter datestr

Date spec to decode.