Re: [Tutor] stfftime question

2006-07-04 Thread Kent Johnson
Tom Tucker wrote: > I found a temporary solution. The goal in the end was to compare two > dates/times and retrieve the millisecond delta between the two. > > Work around > # > import datetime > import time > t1 = datetime.datetime(1973,9,4,04,3,25,453) > t2 = datetime.datetime(1973,

Re: [Tutor] stfftime question

2006-07-04 Thread Tom Tucker
I found a temporary solution. The goal in the end was to compare two dates/times and retrieve the millisecond delta between the two. Work around # import datetime import time t1 = datetime.datetime(1973,9,4,04,3,25,453) t2 = datetime.datetime(1973,9,4,04,3,25,553) t1tuple = time.mkti

[Tutor] stfftime question

2006-07-04 Thread Tom Tucker
Below is an example of me converting a datetime to milliseconds on a Mac running Pythong 2.3.5. The same working code on a Solaris system with Python 2.3.2 fails. Any thoughts? What arguments am I missing? >From my Mac # Python 2.3.5 (#1, Oct 5 2005, 11:07:27) [GCC 3.3 20030304 (A