<?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>SQL local Timezone</title><link>https://community.appian.com/discussions/f/data/39259/sql-local-timezone</link><description>I am storing the values to sql in gmt format ,when I fetch 
 The data back and show it in grid Iam changing to clients timezone but it stores in db as gmt while querying and showing in grid making difference in the time 
 
 I checked separately but the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: SQL local Timezone</title><link>https://community.appian.com/thread/148838?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 14:31:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e8930b7-4c78-46d2-a5bb-bba0e47e0227</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Is this related to your question?? , Anyways you can directly subtract the two date times or you can use functions like&amp;nbsp;tointervalds() or calwordays()&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL local Timezone</title><link>https://community.appian.com/thread/148837?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 14:02:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c22125a-769e-4d91-9af7-d9f8885b8f1f</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;use function calworkdays()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL local Timezone</title><link>https://community.appian.com/thread/148836?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 13:58:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:018aecc5-b3cb-4eda-82fb-e560f9459d2b</guid><dc:creator>priyadharshinis746840</dc:creator><description>&lt;ol&gt;
&lt;li&gt;I want to calculate the no of days between two inputs of type datetime.can anyone help&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL local Timezone</title><link>https://community.appian.com/thread/148815?ContentTypeID=1</link><pubDate>Mon, 09 Jun 2025 18:06:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:54fd05a7-676b-4978-be1c-d3f0eb875cc5</guid><dc:creator>venkatrea696188</dc:creator><description>[quote userid="300984" url="~/discussions/f/data/39259/sql-local-timezone"]I&amp;#39;m using view to fetch data and show in front-end[/quote]
&lt;p&gt;Can you elaborate this?? Are you using query record/ entity or any SQL commands?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;By default, Appian stores time values in ++GMT in database , whenever you query it and show it in grids it will convert into user locale. you don&amp;#39;t have to do anything&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SQL local Timezone</title><link>https://community.appian.com/thread/148813?ContentTypeID=1</link><pubDate>Mon, 09 Jun 2025 16:08:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3adb8c59-3ba0-42db-ab03-e41655bb1e14</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not sure what you want to achieve, but in this post, I describe how time works in Appian.&lt;/p&gt;
&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></channel></rss>