<?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>Date headaches</title><link>https://community.appian.com/discussions/f/data/39589/date-headaches</link><description>I&amp;#39;ve been having headaches with dates in Appian and I think it has to do with the way appian handles timezones. 
 Unless I&amp;#39;m mistaken, appian is supposed to record dates in GMT then then later read them in whatever local time zone is appropriate. What</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151231?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 06:52:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c1d8c563-fe85-498c-b44e-160c788e865a</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Good to know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151230?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 06:51:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67c5a101-7ae4-448d-bc02-2d8df07c5f35</guid><dc:creator>grandhiritusha</dc:creator><description>&lt;p&gt;Thanks Shubham, that worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151187?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 13:57:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cf83d329-1357-4747-ac09-7463d6b8ed84</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That&amp;#39;s bad. I do not know of a good solution and suggest to open a support case with Appian to discuss this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151186?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 13:57:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d2ba636-e689-4b77-bc58-76b991838217</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;I would recommend&amp;nbsp;Change the Record Type field from &amp;quot;Date and Time&amp;quot; to just &amp;quot;Date&amp;quot; to match your interface and stop the timezone shifts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151184?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 13:09:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28302139-303b-4305-ac22-a6fa0682fcc2</guid><dc:creator>grandhiritusha</dc:creator><description>&lt;p&gt;Hi , Stefan&lt;/p&gt;
&lt;p&gt;Its UTC -7:00 .&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151183?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 12:57:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2769389-7c2f-43aa-b673-d3665b1816c8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is your DB set to GMT/UST?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151180?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 11:28:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:605b6cca-5c69-4c42-bc7e-f5c58bc239e5</guid><dc:creator>grandhiritusha</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/shubhama926776"&gt;Shubham Aware&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, it&amp;#39;s same for the record type as well?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using a!datefield in interface and&lt;/p&gt;
&lt;p&gt;In Record type we have date and time field configured for the column and&lt;/p&gt;
&lt;p&gt;In Oracle SQL database its again date field which is configured for the same column .&lt;/p&gt;
&lt;p&gt;Where I&amp;#39;m facing the same issue as Marco&lt;/p&gt;
&lt;p&gt;Could you please suggest?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151002?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 19:02:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd2cf48e-df34-4fc1-b4dd-af75135e3c95</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="298571" url="~/discussions/f/data/39589/date-headaches/151001"]I&amp;#39;m getting either EST or EDT on the DB[/quote]
&lt;p&gt;How is that happening?&amp;nbsp; If you use any standard funcitonality to store a standard timestamp into the DB, the datetime value should be stored as UST, unless you first applied an incorrect conversion, or something else unusual has happened to it first.&lt;/p&gt;
&lt;p&gt;Edit: I now see your followup comment to Stefan explaining that the DB is not in cloud and hardcoded to be EST-centric.&amp;nbsp; In that case I&amp;#39;m not sure what to do other than to make sure all in-Appian settings are set such that it expects everything at all to be in EST.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/151001?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 19:00:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0682a3a3-3f7a-4202-8d40-a1be1ee3721a</guid><dc:creator>Marco Tacca</dc:creator><description>[quote userid="50400" url="~/discussions/f/data/39589/date-headaches/150990"]The &amp;quot;time zone in the db&amp;quot; is &lt;em&gt;&lt;span style="text-decoration:underline;"&gt;always accurate&lt;/span&gt;&lt;/em&gt;, as it&amp;#39;s &lt;strong&gt;&lt;em&gt;&lt;span style="text-decoration:underline;"&gt;always&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; GMT/UST.&amp;nbsp; What you must straighten out is what the end user sees and what gets saved/retrieved, and often, this goes hand-in-hand with the developer&amp;#39;s understanding thereof.[/quote]
&lt;p&gt;The frustration over here is that it&amp;nbsp;ISN&amp;#39;T always GMT in the DB. If it was doing that, I wouldn&amp;#39;t be having all these headaches with time. I&amp;#39;m getting either EST or EDT on the DB.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150990?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 14:06:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bae1e782-1f39-43bb-8da8-7c64f5c0c6b4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You have to remember that some date/timestamps are stamped with a timezone and some are not.&amp;nbsp; A lot of the confusion comes into play when dealing with an inherently non-timezone-stamped time value (like &amp;quot;today()&amp;quot;) but then dealing with that in the context of a time rather than as a date, when it inherently gets timestamped - and, of course, Appian treats all timestamps behind-the-scenes as GMT/UST, other than how they&amp;#39;re displayed to the end user - this is where things like GMT and LOCAL come into play.&lt;/p&gt;
[quote userid="298571" url="~/discussions/f/data/39589/date-headaches/150971"]I want the time zone in the db to at least be accurate[/quote]
&lt;p&gt;The &amp;quot;time zone in the db&amp;quot; is &lt;em&gt;&lt;span style="text-decoration:underline;"&gt;always accurate&lt;/span&gt;&lt;/em&gt;, as it&amp;#39;s &lt;strong&gt;&lt;em&gt;&lt;span style="text-decoration:underline;"&gt;always&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; GMT/UST.&amp;nbsp; What you must straighten out is what the end user sees and what gets saved/retrieved, and often, this goes hand-in-hand with the developer&amp;#39;s understanding thereof.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150976?ContentTypeID=1</link><pubDate>Sun, 17 Aug 2025 08:12:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:381244ec-00a7-4570-9741-df74e5210226</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Here we go! I suggest to contact Appian to discuss this and how to manage it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150974?ContentTypeID=1</link><pubDate>Sat, 16 Aug 2025 18:44:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ec4a7c0f-f5aa-4b65-bbce-3f349bf56bc1</guid><dc:creator>Marco Tacca</dc:creator><description>&lt;p&gt;I understand that Appian treats datetimes only in GMT. The DB server is not Appian cloud and not in GMT, which is what is causing all the trouble. I don&amp;#39;t have any control over the server though. It&amp;#39;s run by the client and they want it to be EST.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So what do I do about it?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150973?ContentTypeID=1</link><pubDate>Sat, 16 Aug 2025 18:04:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7e6570f-f51c-4f39-83f3-08903af992fc</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Do you use the Appian cloud database? If not, did you make sure that your DB server runs in GMT?&lt;/p&gt;
&lt;p&gt;Appian treats dates/datetimes only in GMT! Internally! As soon as such a value becomes visible, it is translated into the users timezone.&lt;/p&gt;
&lt;p&gt;It is simple, but you can build yourself a ugly trap once you try to translate dates yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150972?ContentTypeID=1</link><pubDate>Sat, 16 Aug 2025 17:47:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cb026ec0-395e-43ea-b58a-717464385166</guid><dc:creator>Marco Tacca</dc:creator><description>&lt;p&gt;I actually read through that before posting, but my problem here is that no matter how I adjust the time, it records as EDT/EST, even if the time is inaccurate. If I use a date picker, it will translate that to local time, making it a day earlier, and even if I use GMT() to translate it to the right date, the timezone it records is still EDT/EST. I want the time zone tag to be correct for the time I&amp;#39;m recording and it seems bizarre to me that these time zone adjustment functions like local() and gmt() don&amp;#39;t allow you to set the time zone, just add/subtract time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150971?ContentTypeID=1</link><pubDate>Sat, 16 Aug 2025 17:38:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9fb7cee-fd34-4054-98b0-9271a95209a5</guid><dc:creator>Marco Tacca</dc:creator><description>&lt;p&gt;The thing is they don&amp;#39;t change the time zone, just the time, which makes things sticky. Say it&amp;#39;s 4:00 now. I use the now() function and appian returns 4pm EDT. If I use the local() function, it gives me 12pm EDT. wrapping now() in the GMT function gives me 8pm EDT. They all say EDT&amp;nbsp;regardless of the actual time zone that is being recorded. I want the time zone in the db to at least be accurate&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150853?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 16:19:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d1d22e4a-a51a-46a6-b152-6bd4f5276f93</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The functions&amp;nbsp;&lt;em&gt;&lt;strong&gt;local()&lt;/strong&gt;&lt;/em&gt; and&amp;nbsp;&lt;em&gt;&lt;strong&gt;gmt()&lt;/strong&gt;&lt;/em&gt; are your friends.&amp;nbsp; It&amp;#39;s tricky to remember how and when you can/want/need to use each, but with practice you will get used to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150823?ContentTypeID=1</link><pubDate>Sun, 10 Aug 2025 15:31:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1e55f2b-c838-4563-aba1-359bae2fa2f6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a id="" 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: Date headaches</title><link>https://community.appian.com/thread/150808?ContentTypeID=1</link><pubDate>Fri, 08 Aug 2025 17:44:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d421d85-cb19-46d1-86aa-d7d256e64cba</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;In your process model , that writes record to this table , can you check the time zone is GMT in the process properties-&amp;gt; time zone . Also confirm that the checkbox &amp;lsquo;Override with initiators time zone&amp;rsquo; is unchecked. If its checked then the data will be stored as per the process initiator&amp;rsquo;s time zone setting instead of GMT so you should have it unchecked! Let me know how it goes.&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date headaches</title><link>https://community.appian.com/thread/150801?ContentTypeID=1</link><pubDate>Fri, 08 Aug 2025 16:30:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e6ccdb0-a180-4cff-a8ef-2a8b757cf0e5</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;You&amp;#39;re using DateTime instead of Date type. DateTime gets timezone-converted (causing your 4-hour shift), but Date doesn&amp;#39;t. Switch your CDT fields from DateTime to Date type and use a!dateField() instead of a!dateTimeField().&lt;br /&gt; For existing data, display with text(gmt(ri!dateTimeValue), &amp;quot;MM/dd/yyyy&amp;quot;) to bypass timezone conversion. For CSV imports, use todate() not todatetime().&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>