<?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: timestamp format, rounding, and aggregation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/598298#M80203</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 05:28:54 GMT</pubDate>
    <dc:creator>UersK</dc:creator>
    <dc:date>2023-02-08T05:28:54Z</dc:date>
    <item>
      <title>timestamp format, rounding, and aggregation</title>
      <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/7370#M7364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been given a data table that contains a couple of columns that require some formatting changes. Specifically I need to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. alter the "Date/Time" column format from 16/08/2013 2:32.01 PM, to 2013-08-13 14:32:01 (this does not appear to be one of JMPs predefined formats)&lt;/P&gt;&lt;P&gt;2. round the timestamp to the nearest 15 min interval. In this case 2013-08-13 14:32:01 would become 2013-08-13 14:30:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, does anyone know of a way to aggregate timestamp data (or any other datatype for that matter)? In my case I have a table of data collected every 10 minutes, that needs to be aggregated to 15 minute bins. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 16:21:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/7370#M7364</guid>
      <dc:creator>kray</dc:creator>
      <dc:date>2013-09-05T16:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp format, rounding, and aggregation</title>
      <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/7371#M7365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 I don't have suggestions to change formatting options on a numeric column beyond the predefined formats&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (one could kludge a concatenated text solution with date time functions year, month, day, hour .... for cosmetic purposes only)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 Round can work if you transform the units first. &lt;/P&gt;&lt;P&gt; JMP time units are seconds&amp;nbsp;&amp;nbsp; If you divide this by 60, the resulting number is in minutes, divide by 15 to change the units to&amp;nbsp; 15's of minutes, then round, then change units back to seconds.&amp;nbsp;&amp;nbsp;&amp;nbsp; Formula would look like Round(:Column/(60*15)) * (60*15)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the rounded time is known, a table summarize could potentially group similar time blocks together.&amp;nbsp; This may meet your goals for aggregation of numeric values.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PS- instead of the "round" option, consider the "floor"-&amp;nbsp;&amp;nbsp; time groupings are often labelled based on the earliest time in the group, instead of the average.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 12:55:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/7371#M7365</guid>
      <dc:creator>gflex</dc:creator>
      <dc:date>2013-09-24T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp format, rounding, and aggregation</title>
      <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/7372#M7366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;kray:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the answer here depends on what you are trying to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMP has a date/time format that is very close: 2013-08-16T14:32. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to process date/time data and then you want the display it in a graph in your format, perhaps the X-Axis?&amp;nbsp; In that case, you have to use a JMP internal date/time format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you planning on making your own summary reports?&amp;nbsp; In that case, process the data in the native date/time format and then convert it to character data for display in your preferred format.&amp;nbsp; You can pull out the components of JMP date and times using various built-in functions; Month(), Year(), etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael Haslam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 13:22:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/7372#M7366</guid>
      <dc:creator>michaelhaslam_p</dc:creator>
      <dc:date>2013-09-24T13:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp format, rounding, and aggregation</title>
      <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/35474#M20928</link>
      <description>I know you posted this a few years ago, but I am trying to do the same thing now. Did you ever figure out how to do this?</description>
      <pubDate>Tue, 07 Feb 2017 21:09:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/35474#M20928</guid>
      <dc:creator>KellyK</dc:creator>
      <dc:date>2017-02-07T21:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp format, rounding, and aggregation</title>
      <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/35475#M20929</link>
      <description>&lt;P&gt;If you can not use the built in formula as @MichaelHaslam suggested, then following &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/489"&gt;@gflex&lt;/a&gt; solution is what needed to be done.&lt;/P&gt;
&lt;P&gt;Take you current timestamp&lt;/P&gt;
&lt;P&gt;Create a new column and apply the Round(:Column/(60*15)) * (60*15) to convert it to 15 minute incremental data&lt;/P&gt;
&lt;P&gt;Then finally, create a character column of the format specifications you need, using the various day,month,year,hour,minute etc. functions to create the final required character string&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 21:30:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/35475#M20929</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-02-07T21:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp format, rounding, and aggregation</title>
      <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/238151#M47039</link>
      <description>&lt;P&gt;Tremendous guidance, works perfectly&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 23:55:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/238151#M47039</guid>
      <dc:creator>david_fuchs</dc:creator>
      <dc:date>2019-12-10T23:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: timestamp format, rounding, and aggregation</title>
      <link>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/598298#M80203</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 05:28:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/timestamp-format-rounding-and-aggregation/m-p/598298#M80203</guid>
      <dc:creator>UersK</dc:creator>
      <dc:date>2023-02-08T05:28:54Z</dc:date>
    </item>
  </channel>
</rss>

