| ADOdb Library for PHP Manual | ||
|---|---|---|
| Prev | UnixTimeStamp | Next |
Parses the timestamp string $str and returns it in unix mktime format (eg. a number indicating the seconds after January 1st, 1970). Expects the date to to be in "Y-m-d, H:i:s" (1970-12-24, 00:00:00) or "Y-m-d H:i:s" (1970-12-24 00:00:00) or "YmdHis" (19701225000000) format, except for Sybase and Microsoft SQL Server, where "M d Y h:i:sA" (Dec 25 1970 00:00:00AM) is also accepted (the 3 letter month strings are controlled by a global array, which might need localisation).
This function is available in both ADORecordSet and ADOConnection since 1.91.
| Prev | Home | Next |
| UnixDate | Up | OffsetDate |