<?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 Syntax of Datetime in condition statements in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Syntax-of-Datetime-in-condition-statements/m-p/328822#M57805</link>
    <description>&lt;P&gt;I'm quite sure there is a really simple solution for my problem but even after searching the community and the scripting index I am stuck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to access all rows before a certain date in my time column, e.g. :Timestamp &amp;lt; "25/06/2020 12:00:00 PM"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the correct syntax for putting a datetime into a condition?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen it in the data filter with the numeric JMP date time format, but I haven't found a function for parsing a datetime into JMP date time yet.&lt;/P&gt;&lt;P&gt;I guess the informat() function might help, but how do I specify JMP date time?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:42:11 GMT</pubDate>
    <dc:creator>Feli</dc:creator>
    <dc:date>2023-06-09T23:42:11Z</dc:date>
    <item>
      <title>Syntax of Datetime in condition statements</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-of-Datetime-in-condition-statements/m-p/328822#M57805</link>
      <description>&lt;P&gt;I'm quite sure there is a really simple solution for my problem but even after searching the community and the scripting index I am stuck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to access all rows before a certain date in my time column, e.g. :Timestamp &amp;lt; "25/06/2020 12:00:00 PM"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the correct syntax for putting a datetime into a condition?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen it in the data filter with the numeric JMP date time format, but I haven't found a function for parsing a datetime into JMP date time yet.&lt;/P&gt;&lt;P&gt;I guess the informat() function might help, but how do I specify JMP date time?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:42:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-of-Datetime-in-condition-statements/m-p/328822#M57805</guid>
      <dc:creator>Feli</dc:creator>
      <dc:date>2023-06-09T23:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax of Datetime in condition statements</title>
      <link>https://community.jmp.com/t5/Discussions/Syntax-of-Datetime-in-condition-statements/m-p/328868#M57810</link>
      <description>&lt;P&gt;Representing date, datetime and time contants in JSL requires you to specify them in a specific format. For dates, you must specify them in ddMONyyyy format, and for times, you must use dd:hh:mm:ss format. For example:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-jsl"&gt;&lt;CODE&gt;time = 14:10:15;
date = 18Jan1957;
datetime = 11Jul2000:03:10:12;&amp;nbsp;&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Learn more:&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;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 10:27:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Syntax-of-Datetime-in-condition-statements/m-p/328868#M57810</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-11-02T10:27:38Z</dc:date>
    </item>
  </channel>
</rss>

