1

I have a date field applied to a node. When I set the time in the date field to i.e. 10am and render that date to my website like so:

echo  date('d.m.Y H:i', strtotime($variables['field_date'][0]['value']));

The output is 9:00am. There is only one single timezone set for the whole website, no individual timezones for users are activated.

1
  • This may be because of the timezone . Set the date field setting "Time zone handling" of the content type as " No time Zone conversion"
    – user10644
    Oct 20, 2012 at 9:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.