Initial Commit of AgileBill Open Source
This commit is contained in:
16
includes/smarty/plugins/function.date.php
Normal file
16
includes/smarty/plugins/function.date.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Smarty plugin
|
||||
* -------------------------------------------------------------
|
||||
* File: function.date
|
||||
* Type: function
|
||||
* Name: date
|
||||
* -------------------------------------------------------------
|
||||
*/
|
||||
function smarty_function_date($params, &$smarty)
|
||||
{
|
||||
extract($params);
|
||||
echo date(UNIX_DATE_FORMAT,$date);
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user