{"id":664,"date":"2025-05-04T06:39:24","date_gmt":"2025-05-04T06:39:24","guid":{"rendered":"https:\/\/datadandies.nl\/?p=664"},"modified":"2025-05-04T06:39:24","modified_gmt":"2025-05-04T06:39:24","slug":"understanding-time-zone-offsets-in-timestamps","status":"publish","type":"post","link":"https:\/\/datadandies.nl\/index.php\/2025\/05\/04\/understanding-time-zone-offsets-in-timestamps\/","title":{"rendered":"Understanding Time Zone Offsets in Timestamps"},"content":{"rendered":"\n<p>Do you have Time for a Date? Understanding Time Zone Offsets in Timestamps<\/p>\n\n\n\n<p>As a Data Engineer or a Data Analyst you are working with dates and times constantly.<\/p>\n\n\n\n<p>Have you ever wondered what those pesky four numbers at the end of a datetime value mean?<\/p>\n\n\n\n<p>Wonder no more! Because I will tell you.<\/p>\n\n\n\n<p>Take a look at the following timestamp: 2025-05-03 23:06:06.164 -0700<\/p>\n\n\n\n<p>Notice there is a -0700 at the end of the timestamp. This tells you what time zone this timestamp \u201coriginates\u201d from (the \u201clocal\u201d time).<\/p>\n\n\n\n<p>In this case, it is 7 hours in westward direction from UTC. With other words, the local time is 7 hours behind UTC.<\/p>\n\n\n\n<p>To get UTC, add 7 hours to the local time.<\/p>\n\n\n\n<p>The picture below gives a graphical representation of the explanation above. <\/p>\n\n\n\n<p>As for why AWS_US_EAST_2 is located in the middle\/west of the US instead of the actual east of the US? There is probably a perfectly reasonable explanation available that I do not know \ud83d\ude01<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"932\" height=\"1024\" src=\"https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/05\/20250504-Time-and-date-offset-UTC-932x1024.png\" alt=\"\" class=\"wp-image-665\" srcset=\"https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/05\/20250504-Time-and-date-offset-UTC-932x1024.png 932w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/05\/20250504-Time-and-date-offset-UTC-273x300.png 273w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/05\/20250504-Time-and-date-offset-UTC-768x844.png 768w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/05\/20250504-Time-and-date-offset-UTC-1398x1536.png 1398w, https:\/\/datadandies.nl\/wp-content\/uploads\/2025\/05\/20250504-Time-and-date-offset-UTC-1864x2048.png 1864w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Do you have Time for a Date? Understanding Time Zone Offsets in Timestamps As a Data Engineer or a Data Analyst you are working with dates and times constantly. Have you ever wondered what those pesky four numbers at the end of a datetime value mean? Wonder no more! Because I will tell you. Take&hellip;<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/datadandies.nl\/index.php\/2025\/05\/04\/understanding-time-zone-offsets-in-timestamps\/\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[60,70],"class_list":["post-664","post","type-post","status-publish","format-standard","hentry","category-blog","tag-dataengineering","tag-datatypes"],"_links":{"self":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/comments?post=664"}],"version-history":[{"count":1,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/664\/revisions"}],"predecessor-version":[{"id":666,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/664\/revisions\/666"}],"wp:attachment":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/media?parent=664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/categories?post=664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/tags?post=664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}