On Fri, 19 May 2000 15:51:42 +0800, "Rhonald Lua" <[EMAIL PROTECTED]>
wrote:

>Is there an 'easy' way to compute the difference between two VT_DATE's?  Or
>equivalently, is there a method to convert a VT_DATE to a numerical value
>such that the difference of two such values is proportional to the time
>difference between the corresponding dates?  I know that in ATL, DATE is
>just a typedef of 'double'.

If you are talking about Win32::OLE::Variant objects, just subtract one
from the other.  The result should be the difference in days (including
fractions).

-Jan


---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to