<?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 How to calculate using JMP script &amp;quot;Mon-Day-Year Calculated&amp;quot; column from a character variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/356681#M60668</link>
    <description>&lt;P&gt;I would like develop a JMP script to automatically calculate and populate the "Mon-Day-Year Calculated" column in the attached JMP database.&amp;nbsp; In the database I manually calculated and populated the "Mon-Day-Year Manually Calculated and Entered" column.&amp;nbsp; The "K9-MON_Year" character variable would be used to automatically calculate "Mon-Day-Year Calculated" data.&amp;nbsp; Please note that I would like all&amp;nbsp;"Days"&amp;nbsp;= 15 .&amp;nbsp; Also see the attached PowerPoint.&amp;nbsp; Thanks in advance!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Community MonDayYear.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30064iB840E15EF2AAE9C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Community MonDayYear.png" alt="Community MonDayYear.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 22:05:27 GMT</pubDate>
    <dc:creator>dfusco923</dc:creator>
    <dc:date>2023-06-09T22:05:27Z</dc:date>
    <item>
      <title>How to calculate using JMP script "Mon-Day-Year Calculated" column from a character variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/356681#M60668</link>
      <description>&lt;P&gt;I would like develop a JMP script to automatically calculate and populate the "Mon-Day-Year Calculated" column in the attached JMP database.&amp;nbsp; In the database I manually calculated and populated the "Mon-Day-Year Manually Calculated and Entered" column.&amp;nbsp; The "K9-MON_Year" character variable would be used to automatically calculate "Mon-Day-Year Calculated" data.&amp;nbsp; Please note that I would like all&amp;nbsp;"Days"&amp;nbsp;= 15 .&amp;nbsp; Also see the attached PowerPoint.&amp;nbsp; Thanks in advance!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Community MonDayYear.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30064iB840E15EF2AAE9C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Community MonDayYear.png" alt="Community MonDayYear.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:05:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/356681#M60668</guid>
      <dc:creator>dfusco923</dc:creator>
      <dc:date>2023-06-09T22:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate using JMP script "Mon-Day-Year Calculated" column from a character variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/356688#M60669</link>
      <description>&lt;P&gt;I'm not sure whether I got you right, to calculate the date from the string I would use following formula:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Date DMY( 1, Num( Word( 2, :K9_MON_YEAR, "/" ) ), Num( Word( 3, :K9_MON_YEAR, "/" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here I placed a fixed Day=1 into the formula, I did'nt know where to get the information about day from. Maybe you can change according to your needs.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 07:30:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/356688#M60669</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-02-07T07:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate using JMP script "Mon-Day-Year Calculated" column from a character variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/357299#M60739</link>
      <description>Thanks Georg - This is very close to what I am looking for except I would like the format to be m/d/y. Also I would like the "d" value to be 15.&lt;BR /&gt;&lt;BR /&gt;Can you recommend the JMP script for that?</description>
      <pubDate>Tue, 09 Feb 2021 00:55:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/357299#M60739</guid>
      <dc:creator>dfusco923</dc:creator>
      <dc:date>2021-02-09T00:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate using JMP script "Mon-Day-Year Calculated" column from a character variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/357330#M60744</link>
      <description>&lt;P&gt;All you need to do to change&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9474"&gt;@Georg&lt;/a&gt;&amp;nbsp;formula to output the 15th day instead of the 1st day, is to change the Day parameter passed to the Date DMY() function.&amp;nbsp; This would be the first parameter, as indicated in the name of the function.&amp;nbsp; &amp;nbsp;As can be seen in&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9474"&gt;@Georg&lt;/a&gt;&amp;nbsp;formula, the value is "1".&amp;nbsp; Just change it to 15.&lt;/P&gt;
&lt;P&gt;The changing of the display format to m/d/y, what needs to be done, is to go to the Column Info dialog box(right click on the column header and select Column Info), and in that dialog, change the format to the m/d/y format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation on JMP date time columns is covered in the JMP Document called Using JMP.&amp;nbsp; It can be found in the JMP Documentation Library, available under the Help pull down menu.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 03:34:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/357330#M60744</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-02-09T03:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate using JMP script "Mon-Day-Year Calculated" column from a character variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/357823#M60793</link>
      <description>Thanks for the help.</description>
      <pubDate>Wed, 10 Feb 2021 14:41:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-using-JMP-script-quot-Mon-Day-Year-Calculated/m-p/357823#M60793</guid>
      <dc:creator>dfusco923</dc:creator>
      <dc:date>2021-02-10T14:41:05Z</dc:date>
    </item>
  </channel>
</rss>

