<?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: Is there a function to get the week day from any given epoch time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-function-to-get-the-week-day-from-any-given-epoch/m-p/121069#M32554</link>
    <description>&lt;P&gt;&lt;CODE&gt;&amp;lt;search&amp;gt; | eval dayofweekshort=strftime(epochtime,"%a") | eval dayofweekfull=strftime(epochtime,"%A") | eval dayofweekasnumber=strftime(epochtime,"%w")&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Sep 2014 14:19:19 GMT</pubDate>
    <dc:creator>aweitzman</dc:creator>
    <dc:date>2014-09-11T14:19:19Z</dc:date>
    <item>
      <title>Is there a function to get the week day from any given epoch time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-function-to-get-the-week-day-from-any-given-epoch/m-p/121067#M32552</link>
      <description>&lt;P&gt;I know how to get the week day from raw events, the week day is stored in the field date_wday.&lt;BR /&gt;
However, I wonder if there's a function to compute the week day from an epoch time, as I want to get it from a field on a table which doesn't come from a raw event _time. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 14:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-function-to-get-the-week-day-from-any-given-epoch/m-p/121067#M32552</guid>
      <dc:creator>manus</dc:creator>
      <dc:date>2014-09-11T14:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to get the week day from any given epoch time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-function-to-get-the-week-day-from-any-given-epoch/m-p/121068#M32553</link>
      <description>&lt;P&gt;I once again replied to my own question... Maybe I shouldn't ask so quickly...&lt;BR /&gt;&lt;BR /&gt;
|eval date_wday=strftime(epochtime,"%w")&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 14:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-function-to-get-the-week-day-from-any-given-epoch/m-p/121068#M32553</guid>
      <dc:creator>manus</dc:creator>
      <dc:date>2014-09-11T14:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function to get the week day from any given epoch time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-function-to-get-the-week-day-from-any-given-epoch/m-p/121069#M32554</link>
      <description>&lt;P&gt;&lt;CODE&gt;&amp;lt;search&amp;gt; | eval dayofweekshort=strftime(epochtime,"%a") | eval dayofweekfull=strftime(epochtime,"%A") | eval dayofweekasnumber=strftime(epochtime,"%w")&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 14:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-function-to-get-the-week-day-from-any-given-epoch/m-p/121069#M32554</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-09-11T14:19:19Z</dc:date>
    </item>
  </channel>
</rss>

