<?php
/**
* QuickSkin Extension current_date
* Print Current Date
*
* Usage Example:
* Template: Today: {current_date:}
* Result: Today: 30.01.2003
*
* @author Andy Prevost hide@address.com - original by Philipp v. Criegern hide@address.com
*/
function qx_current_date () {
global $_CONFIG;
$dateFormat = 'F j, Y';
if ( !empty($_CONFIG['date_format']) ) {
$dateFormat = $_CONFIG['date_format'];
}
return date( $dateFormat );
}
?>