Page 1 of 1

Error when adding dates

Posted: Mon Oct 16, 2006 9:03 am
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

Error when adding dates

Posted: Mon Oct 16, 2006 10:09 am
by John
<$now=(convert( 'now' , 'date' ))>
<$inttime=(convert($time, 'int' ))>
<$var=($now + $inttime)>