<?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: Column formula to round timestamp to nearest minute in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75895#M36012</link>
    <description>Hi Onjai,&lt;BR /&gt;If you're using version 14, you can right-click the heading of your Timestamp column, select New Formula Column-&amp;gt;Transform-&amp;gt;Round. You'll then get a dialog box to set the desired parameters (because you're wanting to round to the nearest minute, you'll just need to select "Nearest" from the dropdown and click OK). This is the resulting formula:&lt;BR /&gt;Round(:Timestamp / 60) * 60&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Sep 2018 15:32:51 GMT</pubDate>
    <dc:creator>jerry_cooper</dc:creator>
    <dc:date>2018-09-26T15:32:51Z</dc:date>
    <item>
      <title>Column formula to round timestamp to nearest minute</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75892#M36010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Looking for a column formula to round timestamp to nearest minute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;27/06/2017 12:21:&lt;STRONG&gt;&lt;U&gt;13&lt;/U&gt;&lt;/STRONG&gt; PM&amp;nbsp; need to round to 27/06/2017 12:21:&lt;STRONG&gt;&lt;U&gt;00&lt;/U&gt;&lt;/STRONG&gt; PM.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 15:16:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75892#M36010</guid>
      <dc:creator>Onjai</dc:creator>
      <dc:date>2018-09-26T15:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Column formula to round timestamp to nearest minute</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75894#M36011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9128"&gt;@Onjai&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm sure there are other ways to approach this,&amp;nbsp;but I've had luck with the following when I've needed to do that (this requires that you have a numeric :DateTime column):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Round(:DateTime / 60) * 60&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(Edited: replaced with the simpler formula pointed out by Jerry)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 15:37:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75894#M36011</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2018-09-26T15:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Column formula to round timestamp to nearest minute</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75895#M36012</link>
      <description>Hi Onjai,&lt;BR /&gt;If you're using version 14, you can right-click the heading of your Timestamp column, select New Formula Column-&amp;gt;Transform-&amp;gt;Round. You'll then get a dialog box to set the desired parameters (because you're wanting to round to the nearest minute, you'll just need to select "Nearest" from the dropdown and click OK). This is the resulting formula:&lt;BR /&gt;Round(:Timestamp / 60) * 60&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2018 15:32:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75895#M36012</guid>
      <dc:creator>jerry_cooper</dc:creator>
      <dc:date>2018-09-26T15:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Column formula to round timestamp to nearest minute</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75898#M36014</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Time Stamp - Modulo( :Time Stamp, 60 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Sep 2018 15:41:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75898#M36014</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-09-26T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Column formula to round timestamp to nearest minute</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75909#M36016</link>
      <description>&lt;P&gt;Julian,&lt;/P&gt;&lt;P&gt;This worked just fine.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 16:29:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75909#M36016</guid>
      <dc:creator>Onjai</dc:creator>
      <dc:date>2018-09-26T16:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Column formula to round timestamp to nearest minute</title>
      <link>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75910#M36017</link>
      <description>&lt;P&gt;I am using the latest version of JMP.&amp;nbsp; The transform worked as well.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 16:31:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-formula-to-round-timestamp-to-nearest-minute/m-p/75910#M36017</guid>
      <dc:creator>Onjai</dc:creator>
      <dc:date>2018-09-26T16:31:44Z</dc:date>
    </item>
  </channel>
</rss>

