<?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 Re: extracting month and year from mm/dd/yyyy date format in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/252840#M49635</link>
    <description>&lt;P&gt;Hi Rahul,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using the the New Formula Column option found when right clicking on the column header.&amp;nbsp; You can highlight both columns at once and then right click to use the New Formula Column &amp;gt; Date Time &amp;gt; Month Year.&amp;nbsp; The result should look like the attached JPG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2020 18:55:24 GMT</pubDate>
    <dc:creator>Bill_Worley</dc:creator>
    <dc:date>2020-03-17T18:55:24Z</dc:date>
    <item>
      <title>extracting month and year from mm/dd/yyyy date format</title>
      <link>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/252835#M49634</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to extract the month and year information from Date column in format of mm/dd/yyyy to mm/yyyy so I can find the mean of turnaround time by month.&amp;nbsp;&lt;SPAN&gt;Month(:Date) extract month and Year(:Date) give year of the date. But I need it both in same formula (or same column). Tried Month(:Date) || Year(:Date) worked but resulting date type - 'expression' won't allow to plot the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached table "Turnaround Time" consist of Start Dates of analysis and turnaround time (or Net workdays needed to complete the analysis).&amp;nbsp; I need to find the mean turnaround time for each month and plot it in 'Fit Y by X' format where X will month of each year and Y will be mean turnaround time for each month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Man thanks in advance for your support!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 18:41:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/252835#M49634</guid>
      <dc:creator>rahul_pd</dc:creator>
      <dc:date>2020-03-17T18:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: extracting month and year from mm/dd/yyyy date format</title>
      <link>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/252840#M49635</link>
      <description>&lt;P&gt;Hi Rahul,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using the the New Formula Column option found when right clicking on the column header.&amp;nbsp; You can highlight both columns at once and then right click to use the New Formula Column &amp;gt; Date Time &amp;gt; Month Year.&amp;nbsp; The result should look like the attached JPG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 18:55:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/252840#M49635</guid>
      <dc:creator>Bill_Worley</dc:creator>
      <dc:date>2020-03-17T18:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: extracting month and year from mm/dd/yyyy date format</title>
      <link>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/252859#M49638</link>
      <description>Thank you!</description>
      <pubDate>Tue, 17 Mar 2020 19:55:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/252859#M49638</guid>
      <dc:creator>rahul_pd</dc:creator>
      <dc:date>2020-03-17T19:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: extracting month and year from mm/dd/yyyy date format</title>
      <link>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/938593#M109336</link>
      <description>&lt;P&gt;I've posted this before, but in case anyone else sees this post:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The first problem with date conversion is that, in the background, JMP is "reading" the date as the number of seconds since&amp;nbsp;&lt;SPAN&gt;January 1, 1904, 12:00:00 AM (and Excel "reads" it from&amp;nbsp;January 1, 1900 which is almost 4B seconds which we'll reach on&amp;nbsp;October 3, 2026 at 07:06:40)! That's why you will sometimes see values in the 3.9B range when converting dates.&lt;BR /&gt;&lt;BR /&gt;Second, although you can change the format of the time you are looking at, JMP will still "read" the time in the original imported format. For example, you I have a date of 1/15/2020 and I want to group all January dates in a MM/YYYY format (for graphing or tabulating), simply changing the format to MM/YYYY doesn't work - JMP will still "read" it as it's original imported date.&lt;BR /&gt;&lt;BR /&gt;That being said, the most successful I've been at converting dates so they can be used are:&lt;BR /&gt;&lt;BR /&gt;- For MM/YYYY from Date, I use:&amp;nbsp;Date DMY( 1, Month( :TRANSACTION_DATE ), Year( :TRANSACTION_DATE ) ) with the MM/YYYY format.&lt;BR /&gt;&lt;BR /&gt;- For YYYYQq from Date, I use:&amp;nbsp;&lt;/SPAN&gt;Date DMY(&lt;SPAN&gt;1,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Floor( (Month( :TRANSACTION_DATE ) - 1) / 3 ) * 3 + 1,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Year( :TRANSACTION_DATE )&lt;/SPAN&gt;) with the YYYYQq format (i.e. 2020Q1).&lt;/P&gt;
&lt;P&gt;Both essentially take all of the dates in a particular month and put them on the first day of the month or quarter, respectively. Seems like a weird workaround, but it works for doing what you need for Tabulating, Time Series, Graph Builder, etc.&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 02:03:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extracting-month-and-year-from-mm-dd-yyyy-date-format/m-p/938593#M109336</guid>
      <dc:creator>mischa869</dc:creator>
      <dc:date>2026-04-01T02:03:04Z</dc:date>
    </item>
  </channel>
</rss>

