| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Sql
Sql.Sql

# Method Sql.Sql()->decode_time()

Method decode_time

  `int decode_time(string t, int|void want_utc)`

Description

  Converts a database time spec to a system time value.

Parameter `t`

  Time spec to decode.

Parameter `want_utc`

  Take the date part from this system time value. If zero, a seconds-since-midnight value is returned.