<?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: How do I copy only for value from the duration(day) and paste it as it is into new column.(but not time/date format)? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810260#M99243</link>
    <description>&lt;P&gt;You should just be able to copy the value without any issues in JMP.&amp;nbsp;For example value&amp;nbsp;:142:12:05 will be pasted as&amp;nbsp;12312300 but you might have to change the format of column. You can also "convert" it to number (it basically already is already is, just formatted as duration) by using Num() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Show(:142:12:05, num(:142:12:05), :142:12:05 == 12312300);
// :142:12:05:00;
// Num(:142:12:05:00) = 12312300;
// :142:12:05:00 == 12312300 = 1;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Edit: Link regarding Date-Time Values from Scripting Guide&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/#page/jmp/datetime-values.shtml#" target="_blank" rel="noopener"&gt;Scripting Guide &amp;gt; Types of Data &amp;gt; Date-Time Functions and Formats &amp;gt; Date-Time Values&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2024 06:15:40 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-11-11T06:15:40Z</dc:date>
    <item>
      <title>How do I copy only for value from the duration(day) and paste it as it is into new column.(but not time/date format)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810258#M99242</link>
      <description>&lt;DIV class=""&gt;Since it is not a normal number, conditional formulas cannot be used.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 06:05:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810258#M99242</guid>
      <dc:creator>Mango1102</dc:creator>
      <dc:date>2024-11-11T06:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy only for value from the duration(day) and paste it as it is into new column.(but not time/date format)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810260#M99243</link>
      <description>&lt;P&gt;You should just be able to copy the value without any issues in JMP.&amp;nbsp;For example value&amp;nbsp;:142:12:05 will be pasted as&amp;nbsp;12312300 but you might have to change the format of column. You can also "convert" it to number (it basically already is already is, just formatted as duration) by using Num() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Show(:142:12:05, num(:142:12:05), :142:12:05 == 12312300);
// :142:12:05:00;
// Num(:142:12:05:00) = 12312300;
// :142:12:05:00 == 12312300 = 1;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Edit: Link regarding Date-Time Values from Scripting Guide&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/#page/jmp/datetime-values.shtml#" target="_blank" rel="noopener"&gt;Scripting Guide &amp;gt; Types of Data &amp;gt; Date-Time Functions and Formats &amp;gt; Date-Time Values&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 06:15:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810260#M99243</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-11T06:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy only for value from the duration(day) and paste it as it is into new column.(but not time/date format)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810261#M99244</link>
      <description>&lt;P&gt;Thanks so much your quick response jthi.&lt;/P&gt;&lt;P&gt;But I want to use the conditional(If) formula by using the confirmed Duration value (Day) as it is.&lt;BR /&gt;However, as you said, each "Day" information has its own value, so it is difficult to use the "If" formula.&lt;BR /&gt;Is there any formula that i can change the confirmed value as a general number?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 06:27:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810261#M99244</guid>
      <dc:creator>Mango1102</dc:creator>
      <dc:date>2024-11-11T06:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy only for value from the duration(day) and paste it as it is into new column.(but not time/date format)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810262#M99245</link>
      <description>&lt;P&gt;You can for example use Format with Format Pattern&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Format(:142:12:05, "Format Pattern", "&amp;lt;Day&amp;gt;")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do note that this will return a string not a number, so you might want to convert it to number using Num().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Day of Year might also work but I haven't tested if it will in all the situations&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Day Of Year(:142:12:05) - 1&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Nov 2024 06:49:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810262#M99245</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-11T06:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy only for value from the duration(day) and paste it as it is into new column.(but not time/date format)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810264#M99246</link>
      <description>&lt;P&gt;It's working. So appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 06:58:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-copy-only-for-value-from-the-duration-day-and-paste-it/m-p/810264#M99246</guid>
      <dc:creator>Mango1102</dc:creator>
      <dc:date>2024-11-11T06:58:50Z</dc:date>
    </item>
  </channel>
</rss>

