20871544ad8dc839d8358aa4c067b04add52e7ee
4 * -------------------------------------------------------------
8 * Date: December 12, 2010
9 * Author: Daniel Hromada
10 * Purpose: let's consider the beginning of UNIX epoch to be more relevant to our current situation the birth of christ
11 * Examples: {$smarty.now|epochal_date}
12 * -------------------------------------------------------------
14 function smarty_modifier_epochal_date($date) {
15 $year=date("Y",$date);
16 echo str_replace($year,$year-1970,date("d/m/Y",$date));
This page took 0.334953 seconds and 4 git commands to generate.