<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do you display multiple timezones corrected for daylight savings from a correct epoch time? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-display-multiple-timezones-corrected-for-daylight/m-p/385922#M69280</link>
    <description>&lt;P&gt;How do you display multiple timezones corrected for daylight savings from a correct epoch time?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 16:40:47 GMT</pubDate>
    <dc:creator>landen99</dc:creator>
    <dc:date>2019-02-12T16:40:47Z</dc:date>
    <item>
      <title>How do you display multiple timezones corrected for daylight savings from a correct epoch time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-display-multiple-timezones-corrected-for-daylight/m-p/385922#M69280</link>
      <description>&lt;P&gt;How do you display multiple timezones corrected for daylight savings from a correct epoch time?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:40:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-display-multiple-timezones-corrected-for-daylight/m-p/385922#M69280</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-02-12T16:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display multiple timezones corrected for daylight savings from a correct epoch time?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-display-multiple-timezones-corrected-for-daylight/m-p/385923#M69281</link>
      <description>&lt;P&gt;Create a macro to calculate the new time using UTC offsets.  Create another macro to calculate the correct UTC offset based on the time of year for Daylight Savings:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; eval date_year=strftime(_time,"%Y"),date_mon=strftime(_time,"%m"),date_day=strftime(_time,"%e"),date_hour=strftime(_time,"%H"),date_min=strftime(_time,"%M"),date_sec=strftime(_time,"%S"),date_tz=strftime(_time,"%:::z"),date_tz_offset="+11",date_doy=strftime(_time,"%j"),date_hour_new=(date_hour-date_tz+date_tz_offset)%24,date_day_new=date_day+floor((date_hour-date_tz+date_tz_offset)/24),date_new=date_year."-".date_mon."-".date_day_new." ".date_hour_new.":".date_min.":".date_min." UTC".date_tz_offset,date=date_year."-".date_mon."-".date_day." ".date_hour.":".date_min.":".date_min." UTC".date_tz
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-display-multiple-timezones-corrected-for-daylight/m-p/385923#M69281</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-02-12T16:42:31Z</dc:date>
    </item>
  </channel>
</rss>

