Jesse Schutt 1 minute read
April 7, 2019

Common PHP/Carbon Date Formats

For some reason I can never seem to remember the specific syntax for formatting dates either in PHP or Carbon! So instead of continually referencing the php docs I thought I'd start compiling a list of formats I frequently use:

November 4th, 1980



Tuesday, November 4th, 1980

11:45 am

11:45:23 AM

11/4/80 - 11:45:23 am


Did I miss any that you regularly use? Ping me @jesseschutt and I'll update this list!

Thinking Giraffe - Melanie Dretvic via Unsplash