Re: [Tutor] Date comparison across time zones

2009-01-13 Thread Mark Tolonen
"frenc1z 1z" wrote in message news:7b60d8a80901130845s30842deeuba55afec99285...@mail.gmail.com... Hello, I'm a novice python (python 2.6.1) user with the following problem. Never though this was going to be so difficult :-). I would like to compare some dates (date+time really). The dates a

Re: [Tutor] Date comparison across time zones

2009-01-13 Thread Alan Gauld
"frenc1z 1z" wrote I'm a novice python (python 2.6.1) user with the following problem. Never though this was going to be so difficult :-). Timezones are devilishly difficult to do if you need to be complete. If you are only dealing with the Western world then its not so bad and most librari

Re: [Tutor] Date comparison across time zones

2009-01-13 Thread Martin Walsh
frenc1z 1z wrote: > Hello, > I would like to compare some dates (date+time really). The dates all > have the following RFC2822 format: > > Eg. is d1 < d2? > d1 = "Tue, 13 Jan 2009 03:27:29 -0800" > d2 = "Tue, 13 Jan 2009 02:40:00 -0600" > > My thinking is that I first need to make these two dat

Re: [Tutor] Date comparison across time zones

2009-01-13 Thread Kent Johnson
On Tue, Jan 13, 2009 at 11:45 AM, frenc1z 1z wrote: > I would like to compare some dates (date+time really). The dates all have > the following RFC2822 format: > > Eg. is d1 < d2? > d1 = "Tue, 13 Jan 2009 03:27:29 -0800" > d2 = "Tue, 13 Jan 2009 02:40:00 -0600" > > Been trying to parse these date

[Tutor] Date comparison across time zones

2009-01-13 Thread frenc1z 1z
Hello, I'm a novice python (python 2.6.1) user with the following problem. Never though this was going to be so difficult :-). I would like to compare some dates (date+time really). The dates all have the following RFC2822 format: Eg. is d1 < d2? d1 = "Tue, 13 Jan 2009 03:27:29 -0800" d2 = "Tue