<?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>question How to get DateTime fields on forms to display the user's timezone? in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614009#M270935</link>
    <description>&lt;P&gt;A request from members in my organization involves displaying the timezone in the date time fields on our forms. While I could just have the label be dynamically generated by the user's timezone, it would be easier to just go and have it in the field itself. &amp;nbsp; Is there a way to do this? I know emailing the data shows timezone, but I would like it on the SN frontend as well.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2017 14:32:19 GMT</pubDate>
    <dc:creator>alexjyong</dc:creator>
    <dc:date>2017-10-25T14:32:19Z</dc:date>
    <item>
      <title>How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614009#M270935</link>
      <description>&lt;P&gt;A request from members in my organization involves displaying the timezone in the date time fields on our forms. While I could just have the label be dynamically generated by the user's timezone, it would be easier to just go and have it in the field itself. &amp;nbsp; Is there a way to do this? I know emailing the data shows timezone, but I would like it on the SN frontend as well.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:32:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614009#M270935</guid>
      <dc:creator>alexjyong</dc:creator>
      <dc:date>2017-10-25T14:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614010#M270936</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;So you want to display the name of timezone besides date/time field on form?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;This seems difficult but can be achieved using client script by setting the message besides the field. This is the only way it can be done seems so.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://wiki.servicenow.com/index.php?title=Display_Field_Messages#gsc.tab=0" title="http://wiki.servicenow.com/index.php?title=Display_Field_Messages#gsc.tab=0"&gt;Display Field Messages - ServiceNow Wiki&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The system will show the date/time in user's timezone.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:35:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614010#M270936</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2017-10-25T14:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614011#M270937</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;By default, the system uses the user's timezone, if it is set, to display times and dates. Make sure they go to their profile and set the timezone. It may be defaulting to "System timezone" (or similar).&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Example: The dates in the system database are stored in UTC. When it displays on the browser, it applies the system timezone. If the user sets a timezone in their profile, that overrides the system timezone.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:40:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614011#M270937</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2017-10-25T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614012#M270938</link>
      <description>&lt;P&gt;Right, but I want it to explicitly state the timezone within the field.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;On the picture below, I want that field to show the timezone. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-10-25 at 10.54.45 AM.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/185954i9207F153FF120A27/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-10-25 at 10.54.45 AM.png" alt="Screen Shot 2017-10-25 at 10.54.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:53:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614012#M270938</guid>
      <dc:creator>alexjyong</dc:creator>
      <dc:date>2017-10-25T14:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614013#M270939</link>
      <description>&lt;PRE __jive_macro_name="quote" class="jive_macro_quote jive_text_macro" data-renderedposition="18_8_1028_83" modifiedtitle="true"&gt;&lt;P&gt;Alex Yong wrote:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Right, but I want it to explicitly state the timezone within the field.&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;.. you mean state the &lt;STRONG&gt;viewing user's&lt;/STRONG&gt; timezone?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:02:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614013#M270939</guid>
      <dc:creator>Dave Smith1</dc:creator>
      <dc:date>2017-10-25T15:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614014#M270940</link>
      <description>&lt;P&gt;Ah, I see.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;As far as I know, there's no format that outputs "PDT, UTC, US/Phoenix" or any other timezone suffix in the date/time picker widget. I love the idea.&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #3d3d3d;"&gt;If you feel this is important, I invite you to open an enhancement request! Our product managers DO listen.&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #0000ee;"&gt;&lt;A _jive_internal="true" href="https://www.servicenow.com/community?id=community_blog&amp;amp;sys_id=e8bde6a9dbd0dbc01dcaf3231f961992"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Enhancement requests: Tell us how you would improve the ServiceNow product &lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:04:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614014#M270940</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2017-10-25T15:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614015#M270941</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:07:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614015#M270941</guid>
      <dc:creator>alexjyong</dc:creator>
      <dc:date>2017-10-25T15:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614016#M270942</link>
      <description>&lt;P&gt;You might be able to do something similar with your own formatter... You could use getUserTimeZone (or gs.getSession().getTimeZone() ) to get the value and then display it as a UI macro/formatter. It wouldn't be part of the field display itself, but would allow you to expose it.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://developer.servicenow.com/app.do#!/api_doc?v=jakarta&amp;amp;id=r_GDT-getUserTimeZone" title="https://developer.servicenow.com/app.do#!/api_doc?v=jakarta&amp;amp;id=r_GDT-getUserTimeZone"&gt;https://developer.servicenow.com/app.do#!/api_doc?v=jakarta&amp;amp;id=r_GDT-getUserTimeZone&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/form-administration/concept/c_Formatters.html" title="https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/form-administration/concept/c_Formatters.html"&gt;https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/form-administration/concept/c_Formatters.html&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:13:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614016#M270942</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2017-10-25T15:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614017#M270943</link>
      <description>&lt;P&gt;Just tried to, but the enhancement form's product field is empty, which keeps me from submitting it. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="16_636.6875_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-10-25 at 11.15.52 AM.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/185952i2CCEA20B1D6F3F96/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-10-25 at 11.15.52 AM.png" alt="Screen Shot 2017-10-25 at 11.15.52 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:16:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614017#M270943</guid>
      <dc:creator>alexjyong</dc:creator>
      <dc:date>2017-10-25T15:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614018#M270944</link>
      <description>&lt;P&gt;I'll give that a shot. Thanks!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:17:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/1614018#M270944</guid>
      <dc:creator>alexjyong</dc:creator>
      <dc:date>2017-10-25T15:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get DateTime fields on forms to display the user's timezone?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/2561671#M997198</link>
      <description>&lt;P&gt;I have the same question. After searching, I'm starting to think that the only option is to change the field from type GDT to a string and pass it the ISO standard time format with the time zone on the end like - 0400 or -04:00. It is for historical purposes so we do not want it changing per users settings and we do not want UTC.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 12:47:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-get-datetime-fields-on-forms-to-display-the-user-s/m-p/2561671#M997198</guid>
      <dc:creator>Jay118</dc:creator>
      <dc:date>2023-05-15T12:47:42Z</dc:date>
    </item>
  </channel>
</rss>

