Source code for file /pattemplate/patTemplate/Modifier/Dateformat.php
Documentation is available at Dateformat.php
* patTemplate modfifier Dateformat
* $Id: Dateformat.php 403 2005-05-21 12:55:15Z schst $
// Check to ensure this file is within the rest of the framework
* patTemplate modfifier Dateformat
* formats dates and times according to a format string.
* Possible attributes are:
* See the PHP documentation for strftime() for
* @link http://www.php.net/manual/en/function.strftime.php
* @return string modified value
function modify( $value, $params =
array() )
if (!isset
($params['format'])) {
return strftime($params['format'], $value);