Revision: 55391
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 5, 2012 05:43 by pruntrut
Initial Code
if (setlocale(LC_TIME, 'fr_FR') == '') { setlocale(LC_TIME, 'FRA'); //correction problème pour windows $format_jour = '%#d'; } else { $format_jour = '%e'; } echo strftime("%A $format_jour %B %Y", strtotime('2008-04-18')); // affiche : vendredi 18 avril 2008 echo strftime("%a $format_jour %b %Y", strtotime('2008-04-18')); // affiche : ven. 18 avr. 2008
Initial URL
Initial Description
Initial Title
formater date FR
Initial Tags
Initial Language
PHP