DEV Community

Suharxxxx
Suharxxxx

Posted on

Convert date to easy read PHP

Image description

https://www.tehplayground.com/IjqAmFSaY1eS2y9Q

Top comments (2)

Collapse
 
laramate profile image
Chris Wolf

I'd suggest using native functions for something like this, e.g.: onlinephp.io/c/018cb.

Or check out Carbon, which has even more niceties around date-handling.

Collapse
 
suharyadi2112 profile image
Suharxxxx

It's a good choice 😁 thank u friend