On Wed, 8 Oct 2008 06:49:10 -0700 (PDT), lookon <areyoulookon@g mail.comwrote:
That's ISO 8601 datetime format. You might use epsilon.extime:
datetime.timede lta(561, 47433, 29246)
Jean-Paul
>I have two string like "2007-03-27T08:54:43+08: 00 "
>how do I get the hours between these two time(string format)?
>how do I get the hours between these two time(string format)?
>>from epsilon.extime import Time
>>Time.fromISO8 601TimeAndDate( "2008-10-08T14:05:16.029 246+00:00") - Time.fromISO860 1TimeAndDate("2 007-03-27T08:54:43+08: 00")
>>Time.fromISO8 601TimeAndDate( "2008-10-08T14:05:16.029 246+00:00") - Time.fromISO860 1TimeAndDate("2 007-03-27T08:54:43+08: 00")
Jean-Paul