Title: Timezone issues
Last modified: August 20, 2016

---

# Timezone issues

 *  Resolved [stevenhong](https://wordpress.org/support/users/stevenhong/)
 * (@stevenhong)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/timezone-issues-1/)
 * I am having a problem with timezones. Specifically on the events.ics. You can
   check out the website here:
    [http://www.tccgospel.org](http://www.tccgospel.org)
 * and the ics
    [http://www.tccgospel.org/events.ics](http://www.tccgospel.org/events.ics)
 * Funny thing is that they show up fine on a mac, but not on google calendars, 
   nor outlook. They are 5 hours off. When I take out the “Z” they show up just 
   fine on google and outlook, but will not function on a mac. Something about an
   error reading the file.
 * When I add a 5 hr offset to the code, it shows up fine on outlook but not google
   calendars nor the mac.
 * Help! It’s driving me nuts.
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [stevenhong](https://wordpress.org/support/users/stevenhong/)
 * (@stevenhong)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/timezone-issues-1/#post-3540226)
 * Oh, WP 3.5.1, EM 5.3.6.1
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/timezone-issues-1/#post-3540272)
 * can you try dev version 5.3.6.3 which includes _improved offset calculations 
   in ical for some servers_?
 *  Thread Starter [stevenhong](https://wordpress.org/support/users/stevenhong/)
 * (@stevenhong)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/timezone-issues-1/#post-3540334)
 * I didn’t end up trying the 5.3.6.3. I did however, modify the code in a template
   file so that it is working as expected. I just added “hard code” to explicitly
   state the timezone as central time (chicago).
 * Here’s the code I added:
    echo “BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN
   METHOD:PUBLISH PRODID:TCCGOSPEL X-FROM-URL:[http://www.tccgospel.org/events.ics](http://www.tccgospel.org/events.ics)
   X-WR-RELCALID:TccGospel X-WR-CALNAME:TccGospel BEGIN:VTIMEZONE TZID:America/Chicago
   X-LIC-LOCATION:America/Chicago BEGIN:DAYLIGHT TZOFFSETFROM:-0600 TZOFFSETTO:-
   0500 TZNAME:CDT DTSTART:19700308T020000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
   END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0500 TZOFFSETTO:-0600 TZNAME:CST DTSTART:
   19701101T020000 RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU END:STANDARD END:VTIMEZONE“;
 * And the code that I changed:
    $dateStart = ‘;TZID=America/Chicago:’.date(‘Ymd\
   THis\Z’,$EM_Event->start); $dateEnd = ‘;TZID=America/Chicago:’.date(‘Ymd\THis\
   Z’,$EM_Event->end);
 * Again, I know that it is hard coded, but we’re not moving out of the central 
   time zone, and it works.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/timezone-issues-1/#post-3540335)
 * Not flexible if you move somewhere else, but should work in your case 🙂
 *  [Matze23](https://wordpress.org/support/users/matze23/)
 * (@matze23)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/timezone-issues-1/#post-3540336)
 * I have a similar issue.
 * Adding ics to Mac calendar time zone is correct.
 * Adding ics to Google calendar wrong time zone is used.
 * Using latest dev version.
 * iCal: [http://www.sv-luttingen.de/?ical=1](http://www.sv-luttingen.de/?ical=1)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Timezone issues’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Matze23](https://wordpress.org/support/users/matze23/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/timezone-issues-1/#post-3540336)
 * Status: resolved