Pike v8.0 release 1738

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.