469,336 Members | 5,570 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

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.
Aug 26 '08 #1
2 1418
Haeyoung Kim wrote:
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
Aug 27 '08 #2
En Tue, 26 Aug 2008 08:53:40 -0300, Haeyoung Kim <ge*******@gmail.com>
escribi�:
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

Aug 28 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.