<?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 to get info(milliseond) after second?! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799107#M314194</link>
    <description>second() can do that, actually.</description>
    <pubDate>Mon, 28 Feb 2022 11:06:16 GMT</pubDate>
    <dc:creator>hellohere</dc:creator>
    <dc:date>2022-02-28T11:06:16Z</dc:date>
    <item>
      <title>how to get info(milliseond) after second?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799101#M314190</link>
      <description>&lt;P&gt;Read in CSV format file with time information, with format TIME20.3.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The time column has millisecond, like 9:15:30:050 (050 is the millisecond).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are hour/minute/second functions to use. Any function to fetch the millisecond information ?!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 10:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799101#M314190</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-02-28T10:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to get info(milliseond) after second?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799107#M314194</link>
      <description>second() can do that, actually.</description>
      <pubDate>Mon, 28 Feb 2022 11:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799107#M314194</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-02-28T11:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to get info(milliseond) after second?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799117#M314197</link>
      <description>&lt;PRE&gt;Try MOD() function:

millisecond=mod( time ,1);&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Feb 2022 12:13:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799117#M314197</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-02-28T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to get info(milliseond) after second?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799125#M314201</link>
      <description>&lt;P&gt;Does your time string actually look like this:&lt;/P&gt;
&lt;PRE&gt;9:15:30:050&lt;/PRE&gt;
&lt;P&gt;The default TIME informat cannot read this, because of the semicolon between the seconds and the fractional part.&lt;/P&gt;
&lt;P&gt;So I ask: is this a typo, or do we need to take care of this non-standard time format?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 14:04:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799125#M314201</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-02-28T14:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to get info(milliseond) after second?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799228#M314238</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/409584"&gt;@hellohere&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The time values should have a decimal point and not semicolon before milliSeconds. &lt;BR /&gt;With that the following code will work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
informat tm time20.3;
format tm time20.3;
input tm;
time_milliS=mod(tm,1);
datalines;
9:15:30.050
;;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Mar 2022 00:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799228#M314238</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-01T00:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to get info(milliseond) after second?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799255#M314259</link>
      <description>Yeah， you guys are right. it is . not :</description>
      <pubDate>Tue, 01 Mar 2022 07:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-info-milliseond-after-second/m-p/799255#M314259</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-01T07:19:17Z</dc:date>
    </item>
  </channel>
</rss>

