0

Datetime in database is : 2019-02-15 10:00:00 when I use this code to format and display it

$dateObject->i18nFormat('dd MMM, yyyy h:mm:ss a ');

I get wrong datetime (2 hours ahead): 15 Feb, 2019 12:00:00 am

How I can fix that?

dvn22
  • 151
  • 8

0 Answers0