472,118 Members | 1,166 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,118 software developers and data experts.

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 1502
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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.