Hi Giuseppe,

On Wednesday, March 24, 2004, 2:28:22 PM, you wrote:

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.

>> d1: now
== 24-Mar-2004/16:12:55+1:00
>> d2: now
== 24-Mar-2004/16:13:05+1:00
>> d2 - d1
== 0
>> difference d2 d1
== 0:00:10

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amiga Group Italia sez. L'Aquila  ---   SOON: http://www.rebol.it/

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

Reply via email to