|  | Date type in win32com? |  | |
| | | Haeyoung Kim |  |
| Posted: Tue Aug 26, 2008 11:53 am Post subject: Date type in win32com? |  |
Hi.
I'm migrating a VBScript into python.
How should I convert Date type parameter in VBScript's COM interface with win32com?
I couldn't find any answer yet...
Thank you in advance. |
| |
| | | Gabriel Genellina |  |
| Posted: Wed Aug 27, 2008 3:00 am Post subject: Re: Date type in win32com? |  |
En Tue, 26 Aug 2008 08:53:40 -0300, Haeyoung Kim <geekslife@gmail.com> escribi�:
| Quote: | I'm migrating a VBScript into python.
How should I convert Date type parameter in VBScript's COM interface with win32com?
|
Look for PyTime in the pywin32 documentation.
-- Gabriel Genellina |
| |
| | | Tim Golden |  |
| Posted: Wed Aug 27, 2008 7:10 am Post subject: Re: Date type in win32com? |  |
Haeyoung Kim wrote:
| Quote: | Hi.
I'm migrating a VBScript into python.
How should I convert Date type parameter in VBScript's COM interface with win32com?
I couldn't find any answer yet...
|
Could you give an example of code you're trying to translate? Normally it's quite simple, but different subsystems can expect different date values. (Such as the notorious number-of-100-ns- intervals-since-01-jan-1601).
TJG |
| |
|
|