Location: PHPKode > projects > QuickSkin > QuickSkin_v5.0/_lib/qx/qx_dateformatgrid.php
<?php
  /**
  * QuickSkin Extension dateformatgrid
  * Changes Dateformat
  *
  * @author Andy Prevost hide@address.com - original by Philipp v. Criegern hide@address.com
  */
  function qx_dateformatgrid ( $param, $format = 'F j, Y' ) {
    list($month,$day,$year,$hour,$minute,$second) = split("[-:T\.]", $param);

    // handle empty values
    if (! $hour) { $hour = '00'; }
    if (! $minute) { $minute = '00'; }
    if (! $second) { $second = '00'; }

    return date( $format, mktime($hour, $minute, $second, $month, $day, $year));
  }

?>
Return current item: QuickSkin