Convert UTC dates to local time in PHP

anerwaync

New Member
I'm storing the UTC dates into the DB using:\[code\]$utc = gmdate("M d Y h:i:s A");\[/code\]and then I want to convert the saved UTC date to the client's local time. How can I do that?Thanks
 
Back
Top