{"id":1957564,"date":"2019-10-18T13:19:48","date_gmt":"2019-10-18T20:19:48","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-daylight-saving-time-affects-events\/"},"modified":"2023-07-27T14:28:34","modified_gmt":"2023-07-27T18:28:34","slug":"how-daylight-saving-time-affects-events-2","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-daylight-saving-time-affects-events-2\/","title":{"rendered":"Dealing with Daylight Saving Time"},"content":{"rendered":"\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/t_knsnR1vOk\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n\n\n\n<p>Many parts of the world (including most of the US and Canada) use Daylight Saving Time which means that the time changes twice a year. You&#8217;ll want to make sure that your events are set up to handle this change as needed so your calendar is always displaying the correct start and end times for events.<\/p>\n\n\n\n<p><strong>The single best thing you can do to accommodate Daylight Saving Time is to use location-based time zones for all your events.&nbsp;<\/strong>This kind of time zone setting will adjust for DST, while a UTC-based time zone (e.g. UTC -8) is an absolute time and will not adjust for DST. If you choose&nbsp;to use a UTC-based option, you may need to manually adjust the time on your events.<\/p>\n\n\n\n<p>We&#8217;ve got a full article all about<em>&nbsp;<em><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/working-with-time-zones\/\" rel=\"noopener noreferrer\">Working with Time Zones<\/a><\/em>&nbsp;<\/em>to help you configure your site to meet your needs.<\/p>\n\n\n\n<div style=\"background: #f3f3f3; border: 1px solid #aaa; padding: 0.6rem 1rem;\">\n<p>\ud83d\udca1 <strong>Series Engine users<\/strong>: Please reference <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/series-engine-compatibility\/\" rel=\"noopener noreferrer\">this knowledgebase post<\/a> to learn about event time compatibility with that plugin and the special setting they have for you to\u00a0use.<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"example\">How UTC time zones clash with DST: An Example Explained<\/h3>\n\n\n\n<p>Let&#8217;s say your WordPress <em>site<\/em> time zone is <samp>UTC-5<\/samp>, but you have a recurring event whose <em>event<\/em> time zone is <samp>America\/New_York<\/samp>. Some of the events happen before DST starts, some after.<\/p>\n\n\n\n<p>If the time zone mode is &#8220;Use site-wide time zone everywhere&#8221;, then events will display as shown in the following screenshot:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/05\/Screen-Shot-2022-05-31-at-10.15.13-AM.png\" alt=\"An example of occurrences in a recurring event happening before and after a DST change.\" class=\"wp-image-1953019\"\/><figcaption class=\"wp-element-caption\">An example of occurrences in a recurring event happening before and after a DST change.<\/figcaption><\/figure>\n\n\n\n<p>What&#8217;s happened is as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first event happens in the <samp>America\/New_York<\/samp> time zone <em>before<\/em> DST starts, so the clock time for that region is <samp>UTC-5<\/samp><\/li>\n\n\n\n<li>The next event happens in the <samp>America\/New_York<\/samp> time zone <em>after<\/em> DST starts; for this region, DST changes its offset to UTC-4<\/li>\n\n\n\n<li>So the first event is <samp>8am UTC-5<\/samp> in local time, while the second time is 8am UTC-4 in local time<\/li>\n\n\n\n<li><strong>Since the time zone mode is &#8220;Use site-wide time zone everywhere&#8221;<\/strong>, the times will all display in terms of the site-wide time zone, which is <samp>UTC-5<\/samp> in this case<\/li>\n\n\n\n<li>So <samp>8am UTC-5<\/samp> will display as-is for the first event, because <samp>8am UTC-5 = 8am UTC-5<\/samp>. But <samp>8am UTC-4<\/samp>, the start time for the <strong>second<\/strong> event, will <em>actually<\/em> be displayed as <samp>7am UTC-5<\/samp>, since <samp>7am UTC-5 = 8am UTC-4<\/samp><\/li>\n\n\n\n<li><strong>DST has made the <em>event&#8217;s<\/em> UTC offset change<\/strong> from UTC-5 to UTC-4, <strong>but the site time zone is still UTC-5<\/strong>, so the times will display in terms of UTC-5<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"example-output\">Other Examples<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Time Zone Mode<\/th><th>Site Time Zone<\/th><th>Event Time Zone<\/th><th>Expected Output<\/th><\/tr><\/thead><tbody><tr><td>Site-wide<\/td><td><samp>UTC-5<\/samp><\/td><td><samp>New_York<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.07.09-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><tr><td>Local Event<\/td><td><samp>UTC-5<\/samp><\/td><td><samp>New_York<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.10.38-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><tr><td>Site-wide<\/td><td><samp>UTC-5<\/samp><\/td><td><samp>Los_Angeles<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.14.55-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><tr><td>Local Event<\/td><td><samp>UTC-5<\/samp><\/td><td><samp>Los_Angeles<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.20.52-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><tr><td>Site-wide<\/td><td><samp>New_York<\/samp><\/td><td><samp>UTC-5<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.42.40-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><tr><td>Local Event<\/td><td><samp>New_York<\/samp><\/td><td><samp>UTC-5<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.44.31-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><tr><td>Site-wide<\/td><td><samp>Los_Angeles<\/samp><\/td><td><samp>UTC-5<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.52.33-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><tr><td>Local Event<\/td><td><samp>Los_Angeles<\/samp><\/td><td><samp>UTC-5<\/samp><\/td><td><a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-10.54.33-AM.png\" target=\"_blank\" rel=\"noopener noreferrer\">Screenshot<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"resources\">Resources<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Something that may help is our free Extension for The Events Calendar, <a href=\"https:\/\/theeventscalendar.com\/extensions\/allow-only-location-time-zones-for-events\/\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Allow Only Location-Based Time Zones for Events<\/em><\/a>, to <strong>ensure<\/strong> that UTC offsets are never used in your events. This may help to reduce confusing time outputs.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Many parts of the world (including most of the US and Canada) use Daylight Saving Time which means that the time changes twice a year. You&#8217;ll want to make sure that your events are set up to handle this change as needed so your calendar is always displaying the correct start and end times for&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[130],"tags":[],"stellar-product-taxonomy":[155,156,158,161],"class_list":["post-1957564","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced-post-manager","stellar-product-taxonomy-event-tickets","stellar-product-taxonomy-event-tickets-plus","stellar-product-taxonomy-events-calendar-pro","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":130,"label":"Managing Events"}],"stellar-product-taxonomy":[{"value":155,"label":"Event Tickets"},{"value":156,"label":"Event Tickets Plus"},{"value":158,"label":"Events Calendar Pro"},{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":130,"name":"Managing Events","slug":"advanced-post-manager","term_group":0,"term_taxonomy_id":130,"taxonomy":"category","description":"","parent":61,"count":44,"filter":"raw","term_order":"0","cat_ID":130,"category_count":44,"category_description":"","cat_name":"Managing Events","category_nicename":"advanced-post-manager","category_parent":61}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1957564"}],"version-history":[{"count":2,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957564\/revisions"}],"predecessor-version":[{"id":1957889,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957564\/revisions\/1957889"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1957564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1957564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1957564"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1957564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}