How to? Python dates to COM dates?

Syver Enstad syver at NOSPAMcyberwatcher.com
Wed Nov 8 06:26:05 EST 2000


Sorry, found it on page 107 of the Win32 Python Programming book,
here's the answer if anyone else needs it.

def MakeComTime(ctime):
    return (ctime / 86400.0) + 25569.0
def MakeCtime(comtime):
    return (comtime - 25569.0) * 86400.0




"Syver Enstad" <syver at NOSPAMcyberwatcher.com> wrote in message
news:JuaO5.142$cr6.1048 at news1.oke.nextra.no...
> I'm wondering how to transform a Python date to a VARIANT date?
>
> Anyone know? Thanks in advance.
>
>





More information about the Python-list mailing list