Common Custom PHP Date Formats

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

In drupal, you can configure custom formats at:

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
  4. Apr 26 '10
  5. M j 'y
  7. 04/26/2010
  8. m/d/Y

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.