Steve,

I think worst case:

Set v vSecs = +
((dextract(.DateTime2)-dextract(.DateTime1))*86400)++
 (textract(.DateTime2)-textract(.DateTime1)))

Ben Petersen

p.s. 86,400 = secs per day



On 17 Oct 2002, at 12:46, Steve Durham wrote:

> 
> 
> What would be the best way to find the difference between two DATETIME
> variables in Rbase 6.5++? I need to be able to take the difference of
> those two variables and break the difference down to a total of
> seconds. I have a few ideas, but I am sure someone knows an easier way
> to do this.
> 
> 
> _________________________________________________________________
> Broadband?�Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp
> 
> ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: INTRO rbase-l
> ================================================
> TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In
> the message body, put just two words: UNSUBSCRIBE rbase-l
> ================================================ TO SEARCH ARCHIVES:
> http://www.mail-archive.com/rbase-l%40sonetmail.com/
> 


================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to