Support » Fixing WordPress » displaying the right time

  • I have a calendar page on my site. It links successfully to my google calendar. I’m about to have it link to an Outlook calendar instead (because I can interact better to an Outlook calendar from my Access database using Automation).
    For the moment I am displaying both google and outlook calendars on that page. The outlook one is showing the time an hour too early.
    Both outlook and my site are set up to display Madrid with British Summer Time. Why does it display properly in Outlook but then lose and hour when I export it to my WordPress site?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Joey

    (@leglesslizard)

    Hey,

    My guess would be that it is something server side that is running at a different timezone so any date/time functions being used here are getting the wrong time. Maybe check out http://php.net/manual/en/function.date-default-timezone-set.php and see if that helps.

    I know it may seem weird that one works and one doesn’t but one could simply be exporting the time (e.g. 8.00pm) and one could be exporting a timestamp and then translating that to a user friendly time when it displays

    Thread Starter desbuckley

    (@desbuckley)

    Hi Joey, thanks for that. You disappeared in my spam folder but I’ve got you now. I’ll check out your link when I get 5 minutes to call my own.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘displaying the right time’ is closed to new replies.