dageciDevClub member 3/28/2024 | |
Maybe this could help:
It takes a date string in the format 'Y/m/d', converts it to a Unix timestamp using strtotime(), and then formats that timestamp into the 'd-m-Y' format using date(). You are getting this format of date from your database. This is good thing because it doesn't depend of the users regional settings. You can also try the tips from this PHPRunner article with built in functions: |
I
|
I author 3/28/2024 |
Works great ! Thanks |