Rob Marshall wrote:
> Thank-you. I also figured out that if I want the "actual" FILETIME I can do:
>
get_filetime = lambda i: ((i & 0x),(i - (i & 0x))>>32)
get_filetime(13174227726000)
> (905689856L, 30673639L)
low,high = get_filetime(13174227726000)
(hig
Thank-you. I also figured out that if I want the "actual" FILETIME I can do:
>>> get_filetime = lambda i: ((i & 0x),(i - (i & 0x))>>32)
>>> get_filetime(13174227726000)
(905689856L, 30673639L)
>>> low,high = get_filetime(13174227726000)
>>> (high<<32)+low
13174227726000
Rob Marshall wrote:
> Is there a way to get the actual FILETIME value from a PyTime?
PyTime isn't actually a type. It's just a set of conversion routines
that produce standard datetime values. So, your question really is "how
to convert a datetime to a Windows FILETIME"? And here's a Python
mod