Hi Gabriele,

> GC> Bruno, it seems that you can't make the difference of a date/time with
> GC> another greater.
> GC> In the second example, the correct expression is test2 - test1
> 
> The  problem  actually is that SUBTRACT returns the number of days
> between  the  two dates; so the result is correct. You have to use
> DIFFERENCE if you want more precision.
> 

Or, using infix:

 >> now/time
== 17:02:19

2 secs later:

 >> now/time - 5
== 17:02:16

IIRC infix is a bit faster (at least it should be as infix ops are 
treated special by REBOL).

--Maarten
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to