<?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 Converting a Julian Day into Month-Day in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Converting-a-Julian-Day-into-Month-Day/m-p/279882#M54249</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive material from a supplier that uses an encoded date in their material lot, which I'd like to convert to a regular date. It first encodes the three digit Julian date into a two-digit Base 36 hex, which I have found JMP can easily handle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But converting the Julian date to month-day has been surprisingly elusive. There isn't a mention of Julian conversion I can find. Seems like I should be able to divide the JMP time by the number of seconds in a day or something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect someone here will know an easy solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the Julian look up table I was given.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="julian day table.png" style="width: 850px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25447i73AA6BB1935599C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="julian day table.png" alt="julian day table.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:32:22 GMT</pubDate>
    <dc:creator>jay_holavarri</dc:creator>
    <dc:date>2023-06-09T23:32:22Z</dc:date>
    <item>
      <title>Converting a Julian Day into Month-Day</title>
      <link>https://community.jmp.com/t5/Discussions/Converting-a-Julian-Day-into-Month-Day/m-p/279882#M54249</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive material from a supplier that uses an encoded date in their material lot, which I'd like to convert to a regular date. It first encodes the three digit Julian date into a two-digit Base 36 hex, which I have found JMP can easily handle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But converting the Julian date to month-day has been surprisingly elusive. There isn't a mention of Julian conversion I can find. Seems like I should be able to divide the JMP time by the number of seconds in a day or something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect someone here will know an easy solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the Julian look up table I was given.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="julian day table.png" style="width: 850px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25447i73AA6BB1935599C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="julian day table.png" alt="julian day table.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:32:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Converting-a-Julian-Day-into-Month-Day/m-p/279882#M54249</guid>
      <dc:creator>jay_holavarri</dc:creator>
      <dc:date>2023-06-09T23:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a Julian Day into Month-Day</title>
      <link>https://community.jmp.com/t5/Discussions/Converting-a-Julian-Day-into-Month-Day/m-p/279893#M54252</link>
      <description>&lt;P&gt;Check out the &lt;A href="https://www.jmp.com/support/help/en/15.1/#page/jmp/date-and-time-functions.shtml#ww2542010" target="_self"&gt;In Days() function&lt;/A&gt;. It will take your Julian date as an argument and return the number of seconds in that number of days.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add that result (minus 1) to January 1 of the year in question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;jdate=239;

year=1998;

date= datemdy(01, 01, year)+(in days(jdate)-1);

format(date, "mm/dd/yyyy");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You might find&amp;nbsp;&lt;LI-MESSAGE title="Using dates, times, datetimes and durations in JMP" uid="68689" url="https://community.jmp.com/t5/JMPer-Cable/Using-dates-times-datetimes-and-durations-in-JMP/m-p/68689#U68689" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 18:54:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Converting-a-Julian-Day-into-Month-Day/m-p/279893#M54252</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-07-17T18:54:49Z</dc:date>
    </item>
  </channel>
</rss>

