Source for file shared.make_timestamp.php
Documentation is available at shared.make_timestamp.php
* Function: smarty_make_timestamp<br>
* Purpose: used by other smarty functions to make a timestamp
* @author Monte Ohrt <monte at ohrt dot com>
// it is mysql timestamp format of YYYYMMDDHHMMSS?
// it is a numeric string, we handle it as timestamp
// strtotime should handle it
if ($time == -
1 ||
$time ===
false) {
// strtotime() was not able to parse $string, use "now":
/* vim: set expandtab: */
Documentation generated on Sun, 09 Mar 2008 23:53:02 -0300 by phpDocumentor 1.4.0