The front end time shows as 3 hours behind the backend time of the same page. The correct time is the one on the backend. I set the time-zone correctly for the user and also the time show correctly in the "Administration » Configuration » Regional and language » date and Time"
Here is the time that the page shows on the Backend (the correct time):
And here is the time showing on the front-end (3 hours behind)
And here is the code that I am using in the page template file:
`<?php print "Last Updated: " . format_date($node->changed, $type = 'medium'); ?>`
I am developing this Website locally on my machine (localhost). Any Ideas to get the time correct on the front end? Thanks.
time()
function