Changeset 862 for trunk/feed.php
- Timestamp:
- Sep 14, 2005, 11:57:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/feed.php
r833 r862 216 216 217 217 /** 218 * creates a MySQL datetime format (2005-07-14 23:01:37) from a Unix219 * timestamp (number of seconds since 1970-01-01 00:00:00 GMT)220 *221 * @param int unix timestamp222 * @return string mysql datetime format223 */224 function ts_to_mysqldt($ts)225 {226 return date('Y-m-d H:i:s', $ts);227 }228 229 /**230 218 * creates a Unix timestamp (number of seconds since 1970-01-01 00:00:00 231 219 * GMT) from a MySQL datetime format (2005-07-14 23:01:37)
Note: See TracChangeset
for help on using the changeset viewer.