Common Custom PHP Date Formats


/ Published in: Other
Save to your folder(s)

In drupal, you can configure custom formats at:
http://yourdomain.com/admin/settings/date-time/formats/add

You can also use these in a custom php function like:


Copy this code and paste it in your HTML
  1. Mon, Apr 26, 2010
  2. D, M j, Y
  3.  
  4. Apr 26 '10
  5. M j 'y
  6.  
  7. 04/26/2010
  8. m/d/Y

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.