<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 09/05/2016 11:50 PM, Stanley - stanlyn.com wrote:<br>
<blockquote cite="mid:004b01d207f1$ce8f3450$6bad9cf0$@stanlyn.com"
type="cite">
<pre wrap="">Hi Jose,
</pre>
<blockquote type="cite">
<pre wrap="">|# date +"%H:%M:%S,%3N" |
</pre>
</blockquote>
<pre wrap="">
Are you saying there is no filepro function for this and I must do a system
call to get it? If so, then how would I use filepro to do math on the
return values?
</pre>
</blockquote>
Yeah, if you want to do math as precise as that, you may want to
look at using epoch time stamps. Like Mark said in his earlier
post, I am not aware of a function in filePro that would do it.<br>
<br>
What kind of math are you talking about?<br>
<br>
Going back to Mark's post, you may want to look at Perl (although I
am a PHP guy myself) and write a script to handle the task and
return the value you seek. filePro has a command known as "user"
which can be used in combination with your script to get the desired
results.<br>
<br>
<code>wget -qO- <a class="moz-txt-link-freetext" href="http://www.timeapi.org/utc/now?\\s.\\N">http://www.timeapi.org/utc/now?\\s.\\N</a> <br>
<br>
or<br>
<br>
</code><br>
<code>php -r 'echo microtime(TRUE);'<br>
<br>
or<br>
<br>
</code><br>
<code>python -c 'import time; print time.time()'<br>
<br>
or<br>
<br>
</code><br>
<code>ruby -e 'puts Time.now.to_f'<br>
<br>
</code>
</body>
</html>