<?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: convert day of week from date string in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/convert-day-of-week-from-date-string/m-p/1417#M1417</link>
    <description>Fortunately, JMP can automatically read the date format: 14-Jan-2010.  But it needs to be converted to a number first.  The num() function (Character --&amp;gt; Num) will do that for you.  Your formula will look like:&lt;BR /&gt;Day Of Week( Num( :Column 1 ) )</description>
    <pubDate>Mon, 01 Mar 2010 22:46:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-03-01T22:46:39Z</dc:date>
    <item>
      <title>convert day of week from date string</title>
      <link>https://community.jmp.com/t5/Discussions/convert-day-of-week-from-date-string/m-p/1416#M1416</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Newbie question.&lt;BR /&gt;&lt;BR /&gt;I have the following date string 14-Jan-2010 and I would like to get the day of week &lt;BR /&gt;from this string. Should I use the formula editor or  write a script.&lt;BR /&gt;&lt;BR /&gt;I tried using the he formula editor "day of week"  but I get an error. &lt;BR /&gt;The error  might have to do with the format of the date string. &lt;BR /&gt;&lt;BR /&gt;I think I need to parse the string and then determine what day of the week it is i.e. Sunday (or 1), Monday (or 2) etc...&lt;BR /&gt;&lt;BR /&gt;Does anyone have a script to do this? Or formula?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 01 Mar 2010 20:16:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/convert-day-of-week-from-date-string/m-p/1416#M1416</guid>
      <dc:creator>MaryLoveless</dc:creator>
      <dc:date>2010-03-01T20:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: convert day of week from date string</title>
      <link>https://community.jmp.com/t5/Discussions/convert-day-of-week-from-date-string/m-p/1417#M1417</link>
      <description>Fortunately, JMP can automatically read the date format: 14-Jan-2010.  But it needs to be converted to a number first.  The num() function (Character --&amp;gt; Num) will do that for you.  Your formula will look like:&lt;BR /&gt;Day Of Week( Num( :Column 1 ) )</description>
      <pubDate>Mon, 01 Mar 2010 22:46:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/convert-day-of-week-from-date-string/m-p/1417#M1417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-01T22:46:39Z</dc:date>
    </item>
  </channel>
</rss>

