Good idea, Curt. My implementation is so Windows specific that it had not occurred to be that this small sample is actually portable. (The very idea of doing DCOM from a Linux box is a bit chilling. Perhaps using Iron Python on MONO? Brrrrr!)
Here's the result on my other workstation using the built in Python (stock Ubuntu Hardy): v v v v v v v 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] Starting with tt = (2002, 6, 28, 15, 20, 1, 4, 179, -1) COMDate= 37435.6389005 mktime= 1025299201.0 using time.gmtime= (2002, 6, 28, 15, 20, 1, 4, 179, 0) using datetime = 2002-06-28 15:20:01.004000 ^ ^ ^ ^ ^ ^ It matches CPython on Windows exactly, at least in my time zone. Someone should try it who does not live in USA Mountain Daylight Time. -- Vernon
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
