Location: PHPKode > projects > QuickSkin > QuickSkin_v5.0/_lib/qx/qx_current_datetime.php
<?php
  /**
  * QuickSkin Extension current_datetime
  * Print Current Date and Time
  *
  * Usage Example:
  * Template: Time: {current_datetime:}
  * Result:   Time: 01.01.2009 - 12:46:00
  *
  * @author Andy Prevost hide@address.com - original by Philipp v. Criegern hide@address.com
  */
  function qx_current_datetime () {
    global $_CONFIG;

    $datetimeFormat = 'F j, Y H:i:s';
    if ( !empty($_CONFIG['datetime_format']) ) {
      $datetimeFormat = $_CONFIG['datetime_format'];
    }
    return date( $datetimeFormat );
  }

?>
Return current item: QuickSkin