DEV Community

Discussion on: I still have to Google...

Collapse
 
dougblackjr profile image
Doug Black

PHP Date formats. If it's outside of Y-m-d, I forget it.

Collapse
 
thatonejakeb profile image
Jacob Baker

Oh god, yes. I mentioned in another comment I always have to check one way or another when switching between languages. HH:mm:ss -- for JS, yep, makes sense. H:i:s -- for PHP whaaa.