I forgot to tell that I use Python 2.2.3. When I first got Python, I got 2.4.1, but it refused to run the second time. So I went and got 2.2.3. Your answer would make sense if I had 2.4.1, but I don't. ----- Original Message ----- From: "Danny Yoo" <[EMAIL PROTECTED]> To: "Nathan Pinno" <[EMAIL PROTECTED]> Cc: "Tutor mailing list" <[email protected]> Sent: Monday, August 01, 2005 11:41 PM Subject: Re: [Tutor] I need advice.
> > > On Mon, 1 Aug 2005, Nathan Pinno wrote: > >> I want to write a program that will convert time in any other time zone >> to my time zone. Would it be better to use the Python time molecule or >> just a whole bunch of if statements? > > Hi Nathan, > > I'd recommend looking at the 'datetime' Python module. Getting this stuff > right is hard, so unless you really want to learn how time conversions > work, take advantage of the library. There's something there that does do > time zones: > > http://www.python.org/doc/lib/datetime-tzinfo.html > http://www.python.org/doc/lib/tzinfo-examples.txt > > Good luck! > > _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
