<?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: Need help with select where date. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108343#M39420</link>
    <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is the excel that I am importing.&amp;nbsp; After importing I get the following table.&amp;nbsp; See attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 16:02:12 GMT</pubDate>
    <dc:creator>wjalford</dc:creator>
    <dc:date>2019-01-30T16:02:12Z</dc:date>
    <item>
      <title>Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108146#M39349</link>
      <description>&lt;P&gt;I am creating a subset where I am using Select Where :Login Date == 01/18/2019;&amp;nbsp; I cannot get it to work.&amp;nbsp; I also tried opening the subset and running the query builder.&amp;nbsp; I can add all of the fields and then filter by login date.&amp;nbsp; The login dates show in the filter.&amp;nbsp; If I choose one of the dates and hit update, no records show.&amp;nbsp; Below is my code and I have attached the screen shot of the query builder.&amp;nbsp; Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture-6.PNG" style="width: 973px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15261iF7CEA402ACB0B52C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture-6.PNG" alt="Capture-6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 03:42:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108146#M39349</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-02-02T03:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108148#M39351</link>
      <description>&lt;P&gt;JMP Date values are numeric values.&amp;nbsp; If you wanted to compare a value in "Login Date" to a date value, you either need to convert the value of "Login Date" to a character string and compre it to "01/07/2018", or keep it as a numeric and convert "01/07/2018" to a date time numeric value.&amp;nbsp; The script below does the selection using the former methodolgy&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( "Login Date" ) &amp;lt;&amp;lt; data type( numeric ) &amp;lt;&amp;lt; Format( "m/d/y" );
MyList = {"HCDS", "HCDS;LENNY", "HCDS; WACKER", "HCDS; GOLDEN SAMPLE", "HCDS; ALJ", "HCDS; LENNY C",
"HCDS; WACKER; GOLDEN SAMPLE", "HCDS; WACKER; PRE-MOVE"};
dt6 &amp;lt;&amp;lt; Select where( (Contains( MyList, :Site ID )) &amp;amp; :Analysis == "G4" );
dt6 &amp;lt;&amp;lt; Select where( format(Column( "Login Date" )[Row()], "M/D/Y" ) == "01/07/2018", current selection( "extend" ) );
dt7 = dt6 &amp;lt;&amp;lt; Subset( Output Table( "Aloha Lenny Assay Subset" ), Selected Rows( 1 ), Selected Columns( 0 ) );
dt7 &amp;lt;&amp;lt; select where( Is Missing( :Label ID ) ) &amp;lt;&amp;lt; delete rows;

selrows = dt7 &amp;lt;&amp;lt; get rows where( :Formatted Entry == "ND" );
dt7:Formatted Entry[selRows] = "0";
dt7:Formatted Entry &amp;lt;&amp;lt; data type( Numeric );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jan 2019 00:59:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108148#M39351</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-29T00:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108157#M39352</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your suggestion and still the data did not filter.&amp;nbsp; Below is what I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 03:32:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108157#M39352</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-02-02T03:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108159#M39354</link>
      <description>&lt;P&gt;Here is a Select Where example, in the same structure as your noted Select Where.&amp;nbsp; It works.&amp;nbsp; So I believe you need to possibly use the JSL Debugger to step through your code and find out where the issue(s) is/are.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt= open("$SAMPLE_DATA/Aircraft Incidents.jmp");
MyList = {"Accident", "Incident" };
dt &amp;lt;&amp;lt; Select where( (Contains( MyList, :Investigation Type) &amp;amp; :Location == "Eden, UT"));
dt &amp;lt;&amp;lt; Select where( format(Column( "Event Date" )[Row()], "M/D/Y" ) == "01/05/2001", current selection("extend"));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I checked out the code back to JMP 11.&amp;nbsp; The "current selection("extend")", was added in JMP 12, so the JSL does not work properly in JMP 11, but it does work after that release.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 03:09:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108159#M39354</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-29T03:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108190#M39359</link>
      <description>&lt;P&gt;Note that you can use literal date values (constants) directly without the need to convert between character strings and numeric values. The form is &lt;STRONG&gt;DDMmmYYYY:HH:MM:SS.S&lt;/STRONG&gt;. (You only use as much of this form as necessary, omitting from the right side.) So, for example, I could directly enter the correct numeric value for 8 AM today as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;29Jan2019:08:00&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The script editor acknowledges this value as a number with the color coding if you have the feature enabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 12:20:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108190#M39359</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-01-29T12:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108220#M39373</link>
      <description>&lt;P&gt;To expand on&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;'s response here is an example showing the date constant in use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open("$SAMPLE_DATA\TechStock.jmp");
dt &amp;lt;&amp;lt; select where(Date &amp;lt;= 05Jan2001);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more tips on dates see&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://community.jmp.com/t5/JMPer-Cable/Using-dates-times-datetimes-and-durations-in-JMP/ba-p/68689" target="_self"&gt;Using dates, times, datetimes and durations in JMP&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 15:56:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108220#M39373</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2019-01-29T15:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108282#M39393</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using 14.1.&amp;nbsp; I have tried so many different ways to format my dates and have not figured out the right format.&amp;nbsp; Below is more of my code.&amp;nbsp; I am passing a variable from a date box.&amp;nbsp; My excel import Login Date looks like&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1/2/2019 9:11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please take a look if I am passing the ALstartDT correctly and any recommendation on how to properly format the date to get the select to work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Clear Log();&lt;/P&gt;&lt;P&gt;Names Default to Here (1);&lt;/P&gt;&lt;P&gt;runScript = Expr(&lt;BR /&gt;TempstartDT = start &amp;lt;&amp;lt; get;&lt;BR /&gt;TempendDT = end &amp;lt;&amp;lt; get;&lt;BR /&gt;ALstartDT = Uppercase(Format(TempstartDT, "mm/dd/yyyy"));&lt;BR /&gt;ALendDT = Uppercase(Format(TempendDT, "mm/dd/yyyy"));&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Written by Vince Faller&lt;BR /&gt;// Makes a calendar come up on a numeditbox (defaults to now)&lt;BR /&gt;// Note, this only works on JMP 11 or above&lt;BR /&gt;dateBox = Function(&lt;BR /&gt;{timething = Today()},&lt;BR /&gt;{newbox},&lt;BR /&gt;newbox = Eval(&lt;BR /&gt;Substitute(&lt;BR /&gt;Name Expr(&lt;BR /&gt;Number Edit Box(&lt;BR /&gt;timething, // Eval(Sub()) because of JMP quirk&lt;BR /&gt;10, // Just need this because JMP doesn't default a width&lt;BR /&gt;&amp;lt;&amp;lt;Set function(&lt;BR /&gt;Function( {self},&lt;BR /&gt;{},&lt;BR /&gt;If( Is Missing( self &amp;lt;&amp;lt; get ),&lt;BR /&gt;self &amp;lt;&amp;lt; Set( Eval( DUMMY ) ) // Sets the date to the timething argument&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;&amp;lt;&amp;lt; Set Format(Format( "m/d/y h:m:s", 23, 0 ) ); // Makes datetime format for the box (gives calendar)&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;Expr( DUMMY ), timething&lt;BR /&gt;)&lt;BR /&gt;);&lt;BR /&gt;newbox;&lt;BR /&gt;);&lt;BR /&gt;&lt;BR /&gt;nw =&lt;BR /&gt;New Window( "SQL Data Table Extraction",&lt;BR /&gt;LineUpBox(NCol(2),&lt;BR /&gt;TextBox("Start DateTime"), start = dateBox(Today()- InDays(12)),&lt;BR /&gt;TextBox("End DateTime"), end = dateBox(),&lt;BR /&gt;ButtonBox("Cancel", ButtonPressed = "Cancel"), ButtonBox("Get Data", ButtonPressed = "Get Data") //stores users button press input into variable&lt;/P&gt;&lt;P&gt;));&lt;/P&gt;&lt;P&gt;wait (15);&lt;BR /&gt;//If statements to take action based on which button was pressed on the date prompt&lt;BR /&gt;If ( ButtonPressed == "Cancel", nw &amp;lt;&amp;lt; Close Window);&lt;BR /&gt;If ( ButtonPressed == "Cancel", Stop());&lt;BR /&gt;if ( ButtonPressed == "Get Data", runScript);&lt;BR /&gt;If ( ButtonPressed == "Get Data", runScript2);&lt;BR /&gt;If ( ButtonPressed == "Get Data", nw &amp;lt;&amp;lt; Close Window);&lt;/P&gt;&lt;P&gt;Caption("Query is running");&lt;BR /&gt;wait(0);&lt;BR /&gt;Names Default to Here (1);&lt;BR /&gt;&lt;BR /&gt;Use for all sheets( 1 ),&lt;BR /&gt;Concatenate Worksheets( 0 ),&lt;BR /&gt;Create Concatenation Column( 0 ),&lt;BR /&gt;Worksheet Settings(&lt;BR /&gt;1,&lt;BR /&gt;Has Column Headers( 1 ),&lt;BR /&gt;Number of Rows in Headers( 1 ),&lt;BR /&gt;Headers Start on Row( 1 ),&lt;BR /&gt;Data Starts on Row( 2 ),&lt;BR /&gt;Data Starts on Column( 1 ),&lt;BR /&gt;Data Ends on Row( 0 ),&lt;BR /&gt;Data Ends on Column( 0 ),&lt;BR /&gt;Replicated Spanned Rows( 1 ),&lt;BR /&gt;Replicated Spanned Headers( 0 ),&lt;BR /&gt;Suppress Hidden Rows( 1 ),&lt;BR /&gt;Suppress Hidden Columns( 1 ),&lt;BR /&gt;Suppress Empty Columns( 1 ),&lt;BR /&gt;Treat as Hierarchy( 0 ),&lt;BR /&gt;Multiple Series Stack( 0 ),&lt;BR /&gt;Import Cell Colors( 0 ),&lt;BR /&gt;Limit Column Detect( 0 ),&lt;BR /&gt;Column Separator String( "-" )&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;);&lt;BR /&gt;//Column ("Login Date") &amp;lt;&amp;lt; data type (numeric) &amp;lt;&amp;lt; format("m/d/y");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;dt6 &amp;lt;&amp;lt; Select where (:Login Date &amp;gt;= ALstartDT,current selection("extend"));&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;dt7 &amp;lt;&amp;lt; select where(Is Missing (:Label ID)) &amp;lt;&amp;lt; delete rows;&lt;BR /&gt;&lt;BR /&gt;selrows=dt7 &amp;lt;&amp;lt; get rows where (:Formatted Entry == "ND");&lt;BR /&gt;dt7:Formatted Entry[selRows]="0";&lt;BR /&gt;dt7:Formatted Entry &amp;lt;&amp;lt; data type(Numeric);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 03:28:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108282#M39393</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-02-02T03:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108284#M39395</link>
      <description>&lt;P&gt;Because you have set your variable "ALstartDT" to a string&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ALstartDT = Uppercase( Format( TempstartDT, "mm/dd/yyyy" ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(The Format() function returns a string value)&lt;/P&gt;
&lt;P&gt;You then need to convert your ":Login Date" to a string also....the ":Login Date" I am assuming is a JMP Date Column.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt6 &amp;lt;&amp;lt; Select where( Format(:Login Date[row()], "mm/dd/yyyy") &amp;gt;= ALstartDT, current selection( "extend" ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 21:17:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108284#M39395</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-29T21:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108318#M39410</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to convert :Login Date to a string, I recieve the error that argument should be numeric{1} in access or evaluation of 'Format', Format/*###*/:Login Date [Row()], "mm/dd/yyyy")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 13:04:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108318#M39410</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T13:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108326#M39413</link>
      <description>&lt;P&gt;Oops, my error.&amp;nbsp; The [Row()] is the problem.&amp;nbsp; Use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; select where( Format( :Login Date, "mm/dd/yyyy" ) &amp;lt;= ALstartDT );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:34:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108326#M39413</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-30T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108327#M39414</link>
      <description>Jim,&lt;BR /&gt;&lt;BR /&gt;I still get argument should be numeric{1} in access or evaluation of 'Format' , Format/*###*/(:Login Date, "mm/dd/yyyy")</description>
      <pubDate>Wed, 30 Jan 2019 15:42:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108327#M39414</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T15:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108339#M39416</link>
      <description>&lt;P&gt;I am pretty sure the issue is a mismatch in whether or not the column is character vs. the comparison variable is character.&amp;nbsp; Can you attach a sample data table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:55:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108339#M39416</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-30T15:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108340#M39417</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree.&amp;nbsp; Attached is a sample table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:58:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108340#M39417</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T15:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108343#M39420</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is the excel that I am importing.&amp;nbsp; After importing I get the following table.&amp;nbsp; See attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:02:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108343#M39420</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T16:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108344#M39421</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sample JMP table :Login Date is character format.&amp;nbsp; I believe the AlstartDT is numeric and that is why I am having the issue?&amp;nbsp; Do you believe this is the issue?&amp;nbsp; If so, what do you recommend?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:05:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108344#M39421</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108347#M39424</link>
      <description>&lt;P&gt;The issue is that you have :login Date as a character column, and it contains the time data along with the date data.&amp;nbsp; So when you compare it to ALstartDT, it is having issues.&amp;nbsp; I suggest that you uncomment the line where you attempted to change the :Login Date to a numeric with a format of "m/d/y".&amp;nbsp; It should slightly changed to look like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt6:Login Date &amp;lt;&amp;lt; data type(numeric) &amp;lt;&amp;lt; modeling type(continuous)&amp;lt;&amp;lt; format( "m/d/y");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then change your select where lines to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt6 &amp;lt;&amp;lt; Select where ((Contains(MyList, :Site ID)) &amp;amp; :Analysis == "G4");
dt6 &amp;lt;&amp;lt; Select where (:Login Date &amp;gt;= informat(ALstartDT,"mm/dd/yyyy"),current selection("extend"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:41:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108347#M39424</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-30T16:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108355#M39431</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No errors, but it does not subset by the ALstartDT date pulled in from the date textbox.&amp;nbsp; My file contains rows with login dates of 1/2/2019 through 1/24/2019.&amp;nbsp; My ALstartDT is 01/18/2019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:29:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108355#M39431</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T17:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108356#M39432</link>
      <description>&lt;P&gt;Jim,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed in the debug tool that it states that ALstartDT is a string not a number.&amp;nbsp; Hopefully this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:42:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108356#M39432</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with select where date.</title>
      <link>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108358#M39434</link>
      <description>Jim,&lt;BR /&gt;&lt;BR /&gt;I finally figured it out. I took your solution then got rid of the extend and added it back to my original select where. For some reason the extend did not work.&lt;BR /&gt;Thank you for taking all of the time helping me work this out. Very much appreciated. Without all of the experts on this forum, folks learning like myself would not be able to complete their projects.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Wayne</description>
      <pubDate>Wed, 30 Jan 2019 18:10:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Need-help-with-select-where-date/m-p/108358#M39434</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-01-30T18:10:04Z</dc:date>
    </item>
  </channel>
</rss>

