PHP Classes

File: examples/date_parsedate.php

Recommend this page to a friend!
  Classes of Everton da Rosa   XtPHP   examples/date_parsedate.php   Download  
File: examples/date_parsedate.php
Role: Example script
Content type: text/plain
Description: Example script
Class: XtPHP
General purpose library of utility classes
Author: By
Last change:
Date: 10 years ago
Size: 179 bytes
 

Contents

Class file image Download
<?php

require '../date.php';

$data = date('d/m/Y H:i:s');

echo
"<p>".time()."</p>";
echo
"<p>$data</p>";
echo
"<p>".XtDate::parseDate($data, 'dd/mm/aaaa hh:ii:ss')."</p>";

?>