Error when adding dates

Post Reply
Texis User
Posts: 74
Joined: Thu Jul 13, 2006 8:47 am

Error when adding dates

Post by Texis User »

Hi,

I have <sysinfo proctime $start> giving me time taken for a step to complete user/process/real time

I add the user and process time and format it as below.
<loop MAX=2 $ret>
<fmt " %.2lf" $time>
<$time=$ret $time>
<sum "%.2lf" $time>
<$time=$ret>
</loop>


I need to add the output to the current date "now" and pass it to a function.
But it gives me an error.

Pls help
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Error when adding dates

Post by John »

<$now=(convert( 'now' , 'date' ))>
<$inttime=(convert($time, 'int' ))>
<$var=($now + $inttime)>
John Turnbull
Thunderstone Software
Post Reply