<?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 extract year from a mdy variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/extract-year-from-a-mdy-variable/m-p/340#M340</link>
    <description>I have variable collection.date, in m/d/y format, and I want to create another variable, yr, by extracting year from collection.date.  I have tried using the year function in a formula but haven't had any success.  Any suggestions?&lt;BR /&gt;Thanks,&lt;BR /&gt;mgm</description>
    <pubDate>Tue, 31 Mar 2009 16:34:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-03-31T16:34:03Z</dc:date>
    <item>
      <title>extract year from a mdy variable</title>
      <link>https://community.jmp.com/t5/Discussions/extract-year-from-a-mdy-variable/m-p/340#M340</link>
      <description>I have variable collection.date, in m/d/y format, and I want to create another variable, yr, by extracting year from collection.date.  I have tried using the year function in a formula but haven't had any success.  Any suggestions?&lt;BR /&gt;Thanks,&lt;BR /&gt;mgm</description>
      <pubDate>Tue, 31 Mar 2009 16:34:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extract-year-from-a-mdy-variable/m-p/340#M340</guid>
      <dc:creator />
      <dc:date>2009-03-31T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: extract year from a mdy variable</title>
      <link>https://community.jmp.com/t5/Discussions/extract-year-from-a-mdy-variable/m-p/341#M341</link>
      <description>Year() will work if your variable is a numeric date, but if it's a character date, you'll have to parse it first.&lt;BR /&gt;&lt;BR /&gt;Year(Parse Date( "07/15/2000" ))</description>
      <pubDate>Wed, 01 Apr 2009 13:19:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extract-year-from-a-mdy-variable/m-p/341#M341</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2009-04-01T13:19:53Z</dc:date>
    </item>
  </channel>
</rss>

