Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Python

Date type in win32com?

 
Jump to:  
 
Haeyoung Kim
PostPosted: 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
PostPosted: 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
PostPosted: 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
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

ubranka dla dzieci Sklep zoologiczny Zwrot podatku z anglii Kochanowski Jan wiersze Wyclef Jean music