Afficher les differentes partie d’une date

Author:

 date
Download

<?php
$stamp = mktime(19,45,0,10,20,2011);
print 'Nous sommes le '.date('d',$stamp).' '.date('F',$stamp);
print '<br/>Le '.(date('z',$stamp)+1)." de l'année ".date('Y',$stamp);
print '<br/> Heure '.date('h:i A',$stamp);
?>

Leave a Reply

Your email address will not be published. Required fields are marked *


× 3 = fifteen