<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Convert Time zone</title><link>https://community.appian.com/discussions/f/new-to-appian/30010/convert-time-zone</link><description>Hi All, 
 
 I have one query related to time zone conversion. 
 I have start and end date with EDT time zone, and i have to convert this date with given time zone like Mountain, Pacific, Eastern so on. 
 
 Can any one help me with same. 
 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Convert Time zone</title><link>https://community.appian.com/thread/119221?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 12:45:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:167daccd-ed1c-4b9e-93a2-e7b92307a646</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Yeah sorry read it too quickly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert Time zone</title><link>https://community.appian.com/thread/119219?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 12:23:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cef07461-dea8-4b9b-85e5-182bb7d7e059</guid><dc:creator>sureshgunawardane</dc:creator><description>&lt;p&gt;It really does not matter much as gmt and local functions &lt;span&gt;counteract each other,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;for example both of below expressions provides the same output,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  
  local(gmt(now()), &amp;quot;Canada/Eastern&amp;quot;),

  gmt(local(now(),&amp;quot;Canada/Eastern&amp;quot;))

}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert Time zone</title><link>https://community.appian.com/thread/119218?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 12:13:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90874c16-93a6-4af3-8c41-9764587beef6</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Should be the opposite no?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;local(gmt(local!dateTime), &amp;quot;Canada/Eastern&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Stefan has a post that covers this:&amp;nbsp;&lt;a href="https://appian.rocks/2023/02/13/working-with-time-in-appian/"&gt;https://appian.rocks/2023/02/13/working-with-time-in-appian/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert Time zone</title><link>https://community.appian.com/thread/119215?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 11:39:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52ad2cb5-00ad-4467-b841-73c8eaf4f016</guid><dc:creator>sureshgunawardane</dc:creator><description>&lt;p&gt;As Mike suggested it is bit tricky to work with multiple time zone conversion, as Appian when run in process model unless overridden by the PM time zone feature treats date time in GMT else on UI it is based on the&amp;nbsp; default time zone set on admin console.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Though it is not a very good way of doing it I found it useful to calculate&amp;nbsp;it like&amp;nbsp;below and save it in DB as the value saved will not contain time zone part hence it saves the date and time value of the provided time zone&amp;nbsp; (in case of below example &amp;#39;Asia/Colombo&amp;#39; time).&lt;/p&gt;
&lt;p&gt;gmt(&lt;br /&gt; local(now(), &amp;quot;Asia/Colombo&amp;quot;)&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;or you can have an offset filed saved in a database table column of each record (+5 or -1 ) depending on the time zone and and use that to manually calculate the date time values when you need specific value to display or do calculation based on the time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert Time zone</title><link>https://community.appian.com/thread/119167?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 14:28:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5d0d5e4-0240-405f-9edb-3ced55d0e93c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This is often tricky to work with, but what I can suggest up front is to review the available &lt;a href="https://docs.appian.com/suite/help/23.3/Appian_Functions.html"&gt;&amp;quot;Date and Time functions&amp;quot; in the documentation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>