|
Jeff Crosby wrote:
I've never had to do it myself, but why not put Date1/Time1 into Timestamp1, Date2/Time2 into Timestamp2, and do the math with the timestamp fields.
This can be done without temporaries. (In some cases, avoiding temporaries leads to nasty write-only code, but in this case, it's almost as simple as the original.) Eval XYZ = %diff((Date2 + Time2) : (Date1 + Time1) : *minutes);
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.