<?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 Adding hours to existing date/time column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-hours-to-existing-date-time-column/m-p/686724#M87238</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am attaching a table here with the first column showing UTC date\time. How do I use JSL to generate&amp;nbsp; a column called Taiwan Time by adding 8 hours to the 1st column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Cryz&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 04:03:10 GMT</pubDate>
    <dc:creator>cchueng</dc:creator>
    <dc:date>2023-10-13T04:03:10Z</dc:date>
    <item>
      <title>Adding hours to existing date/time column</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-hours-to-existing-date-time-column/m-p/686724#M87238</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am attaching a table here with the first column showing UTC date\time. How do I use JSL to generate&amp;nbsp; a column called Taiwan Time by adding 8 hours to the 1st column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Cryz&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 04:03:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-hours-to-existing-date-time-column/m-p/686724#M87238</guid>
      <dc:creator>cchueng</dc:creator>
      <dc:date>2023-10-13T04:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding hours to existing date/time column</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-hours-to-existing-date-time-column/m-p/686728#M87239</link>
      <description>&lt;P&gt;Use the In Hours() function to add the hours.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:RunFinishUTCDateTime + In Hours( 8 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1697170827433.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57560i2D2010474BC0A343/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1697170827433.png" alt="txnelson_0-1697170827433.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;JMP Date/Time values are measured in the number of seconds.&amp;nbsp; Therefore, the following formula would also work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:RunFinishUTCDateTime + 8 * 60 * 60&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Oct 2023 04:24:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-hours-to-existing-date-time-column/m-p/686728#M87239</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-10-13T04:24:26Z</dc:date>
    </item>
  </channel>
</rss>

