<?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 Re: How to covert Date and Time with timezone display? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421013#M120956</link>
    <description>&lt;P&gt;Another option&lt;/P&gt;

&lt;P&gt;| eval "Event_Time"= strftime(_time,"%m/%d/%Y %H:%M:%S %Z")&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 03:45:07 GMT</pubDate>
    <dc:creator>jaxjohnny2000</dc:creator>
    <dc:date>2020-09-30T03:45:07Z</dc:date>
    <item>
      <title>How to covert Date and Time with timezone display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421007#M120950</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;

&lt;P&gt;My name group extracts date time filed in the below format&lt;BR /&gt;
 E.g: 21/Jan/2019 09:35:25 UTC&lt;/P&gt;

&lt;P&gt;I would like to convert it to AEST format on the fly and also it should not provide me the timezone details, rather than changing the prop file.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 08:26:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421007#M120950</guid>
      <dc:creator>mail2uharishp</dc:creator>
      <dc:date>2019-04-21T08:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to covert Date and Time with timezone display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421008#M120951</link>
      <description>&lt;P&gt;Hi Harish you can try this way..&lt;BR /&gt;
| eval "UTCepoch"= strptime(Date,"%d/%b/%Y %H:%M:%S %Z") , "AESTepoch=(UTCepoch +36000) , "AESTdate"= strftime(AESTepoch,"%d/%b/%Y %H:%M:%S %Z")&lt;/P&gt;

&lt;P&gt;In this way you will get date format in UTC to AEST.&lt;BR /&gt;
Here 36000 is time gap between UTC and AEST in seconds. &lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 08:51:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421008#M120951</guid>
      <dc:creator>maityayan1996</dc:creator>
      <dc:date>2019-04-21T08:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to covert Date and Time with timezone display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421009#M120952</link>
      <description>&lt;P&gt;Login to Splunk, go to &lt;CODE&gt;Your Login Name Here&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Preferences&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;Time zone&lt;/CODE&gt; and pick your preferred presentation TZ.  Then in your searches, on the &lt;CODE&gt;Events&lt;/CODE&gt; tab, make sure that you select &lt;CODE&gt;Table&lt;/CODE&gt; or &lt;CODE&gt;List&lt;/CODE&gt; view (above the &lt;CODE&gt;i&lt;/CODE&gt;).  You will now have a separate &lt;CODE&gt;Tme&lt;/CODE&gt; (or &lt;CODE&gt;_time&lt;/CODE&gt;) column that shows the TZ-adjusted time.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 14:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421009#M120952</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-21T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to covert Date and Time with timezone display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421010#M120953</link>
      <description>&lt;P&gt;Hi Maityayan,&lt;/P&gt;

&lt;P&gt;in the above eval function we have hardcoded 36000 sec addition to UTC time, however during the daylight changes it will be made to 39600, Can i get to do that calculation dynamically?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harish&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 23:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421010#M120953</guid>
      <dc:creator>mail2uharishp</dc:creator>
      <dc:date>2019-04-21T23:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to covert Date and Time with timezone display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421011#M120954</link>
      <description>&lt;P&gt;Hi Woodcock,&lt;/P&gt;

&lt;P&gt;Thank you for your response, however was not preferring to change any preferences or prop file to get the desired out come, I was looking to change the time change on the fily .&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 23:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421011#M120954</guid>
      <dc:creator>mail2uharishp</dc:creator>
      <dc:date>2019-04-21T23:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to covert Date and Time with timezone display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421012#M120955</link>
      <description>&lt;P&gt;Use this&lt;/P&gt;

&lt;P&gt;Search... | eval "Local_Time"= strftime(_time,"%d/%b/%Y %H:%M:%S %Z")&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421012#M120955</guid>
      <dc:creator>jaxjohnny2000</dc:creator>
      <dc:date>2020-09-30T03:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to covert Date and Time with timezone display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421013#M120956</link>
      <description>&lt;P&gt;Another option&lt;/P&gt;

&lt;P&gt;| eval "Event_Time"= strftime(_time,"%m/%d/%Y %H:%M:%S %Z")&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-covert-Date-and-Time-with-timezone-display/m-p/421013#M120956</guid>
      <dc:creator>jaxjohnny2000</dc:creator>
      <dc:date>2020-09-30T03:45:07Z</dc:date>
    </item>
  </channel>
</rss>

