Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Sql
Sql.mysql

Method Sql.mysql()->decode_datetime()


Method decode_datetime

int decode_datetime(string timestr)

Description

Converts a database date and time spec to a system time value. Can decode strings missing the time part.

Parameter datestr

Date and time spec to decode.