Posted By

gd6d on 10/28/09


Tagged

date wordpress


Versions (?)

Customizing the Time and Date


 / Published in: PHP
 

URL: http://codex.wordpress.org/Formatting_Date_and_Time

  1. l, F j, Y
  2.  
  3. creates a date that look like this:
  4.  
  5. Friday, September 24, 2004
  6.  
  7. Here is what each format character in the string above represents:
  8.  
  9. * l = Full name for day of the week (lower-case L).
  10. * F = Full name for the month.
  11. * j = The day of the month.
  12. * S = The English suffix for the day of the month (e.g st, nd or th in the 1st, 2nd or 15th.)
  13. * Y = The year in 4 digits. (lower-case y gives the year's last 2 digits)
  14.  
  15. lundi 4 mars 2009 : l j F Y

Report this snippet  

You need to login to post a comment.