<?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: Custom time on E-mail alerts in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717072#M337</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142893"&gt;@Mario.Morelli&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you help with EST? Time is showing eastern time but time zone is still showing UTC for me.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 18:55:39 GMT</pubDate>
    <dc:creator>Rohan_Banuri</dc:creator>
    <dc:date>2022-09-30T18:55:39Z</dc:date>
    <item>
      <title>Custom time on E-mail alerts</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717067#M332</link>
      <description>&lt;P&gt;Hello everyone&lt;BR /&gt;I faced a problem with variable on Email templates. When trigger text with ${action.triggerTime} sent to Email address, I see only UTC time, but for my notify's need to GMT+3. Im tried anything, but it not successed.&amp;nbsp;&lt;BR /&gt;Maybee someone knows how to use this variable with non-UTC time?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 09:02:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717067#M332</guid>
      <dc:creator>Ilya_Nagornyy</dc:creator>
      <dc:date>2021-12-06T09:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom time on E-mail alerts</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717068#M333</link>
      <description>&lt;P&gt;Hi Ilya&lt;/P&gt;
&lt;P&gt;You can use the following, as AppD uses Apache Velocity, below is an example of GMT+2 where we use eventtime, but you can use it for any datetime in AppD. Please adjust the +2, to +3 for your use timezone and the Date Variable.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px" style="padding-left : 30px;"&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;#set ($date = ${latestEvent.eventTime})#set ($newDate = ${date.getHours()}+(2))$date.setHours(${newDate})#set( $String = ' ' ) $String.format('%1$tY-%1$tm-%1$tdT%1$tH:%1$tM:%1$tSZ', ${date})&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-align-right" style="text-align : right;"&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#808080"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;edited for formatting, C. Landivar, Community Manager &amp;amp; Editor&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 09:32:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717068#M333</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-12-06T09:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom time on E-mail alerts</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717069#M334</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142893"&gt;@Mario.Morelli&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Can you help me with +5:30 for IST time?&lt;/P&gt;
&lt;P class="lia-align-right" style="text-align : right;"&gt;&lt;FONT color="#808080"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;edited for formatting, C. Landivar, Community Manager &amp;amp; Editor&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 16:24:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717069#M334</guid>
      <dc:creator>Mohit_Gupta2</dc:creator>
      <dc:date>2022-03-04T16:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom time on E-mail alerts</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717070#M335</link>
      <description>&lt;P&gt;Hi Mohit&lt;/P&gt;
&lt;P&gt;Here you go:)&lt;/P&gt;
&lt;P class="lia-align-left lia-indent-padding-left-30px" style="text-align : left; padding-left : 30px;"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;#set ($date = ${latestEvent.eventTime})&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-align-left lia-indent-padding-left-30px" style="text-align : left; padding-left : 30px;"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;#set ($newDate = ${date.getHours()}+(5))$date.setHours(${newDate})&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;#set ($newDate = ${date.getMinutes()}+(30))$date.setMinutes(${newDate})&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;#set( $String = ' ' ) $String.format('%1$tY-%1$tm-%1$tdT%1$tH:%1$tM:%1$tSZ', ${date})&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Ciao&lt;/P&gt;
&lt;P class="lia-align-right" style="text-align : right;"&gt;&lt;FONT size="2" color="#808080"&gt;edited for formatting, C. Landivar, Community Manager &amp;amp; Editor&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 06:49:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717070#M335</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2022-03-05T06:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom time on E-mail alerts</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717071#M336</link>
      <description>&lt;P&gt;Thanks Buddy!!&lt;/P&gt;&lt;P&gt;Worked for me.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 08:14:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717071#M336</guid>
      <dc:creator>Mohit_Gupta2</dc:creator>
      <dc:date>2022-03-05T08:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom time on E-mail alerts</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717072#M337</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142893"&gt;@Mario.Morelli&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you help with EST? Time is showing eastern time but time zone is still showing UTC for me.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 18:55:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Custom-time-on-E-mail-alerts/m-p/717072#M337</guid>
      <dc:creator>Rohan_Banuri</dc:creator>
      <dc:date>2022-09-30T18:55:39Z</dc:date>
    </item>
  </channel>
</rss>

