PHP Classes

File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch06_Dates/timestr.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch06_Dates/timestr.php  >  Download  
File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch06_Dates/timestr.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change:
Date: 3 months ago
Size: 185 bytes
 

Contents

Class file image Download
<?php
    $sl
= array(
   
"2007-03-11",
   
"2007-01-01",
   
"2006-01-01",
   
"2007-03",
   
"2006",
    );

    foreach (
$sl as $s) {
    print
date("Y M d h:m:sa e", strtotime($s)) . "\n";
    }
?>

For more information send a message to info at phpclasses dot org.