Re: [Tutor] Support for datetime module

2008-09-08 Thread Johan Geldenhuys
] Support for datetime module > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kent Johnson > Sent: Saturday, September 06, 2008 7:08 AM > To: [EMAIL PROTECTED] > Cc: tutor@python.org > Subject: Re: [Tutor] Support for dat

Re: [Tutor] Support for datetime module

2008-09-08 Thread Hansen, Mike
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kent Johnson > Sent: Saturday, September 06, 2008 7:08 AM > To: [EMAIL PROTECTED] > Cc: tutor@python.org > Subject: Re: [Tutor] Support for datetime module > >

Re: [Tutor] Support for datetime module

2008-09-07 Thread Kent Johnson
On Sun, Sep 7, 2008 at 3:48 PM, Johan Geldenhuys <[EMAIL PROTECTED]> wrote: > I can get the time up to the closest second with the time module, but not to > the millisecond. > When I use time.strftime, I don't know how many milliseconds are left over > to use them. OK. I guess you can use time.str

Re: [Tutor] Support for datetime module

2008-09-07 Thread Johan Geldenhuys
Sent: Sunday, 7 September 2008 21:04 PM To: [EMAIL PROTECTED] Cc: tutor@python.org Subject: Re: [Tutor] Support for datetime module On Sun, Sep 7, 2008 at 6:17 AM, Johan Geldenhuys <[EMAIL PROTECTED]> wrote: > Thanks Kent, > > Let me explain what I need it for. > > I have a systemUp

Re: [Tutor] Support for datetime module

2008-09-07 Thread Kent Johnson
On Sun, Sep 7, 2008 at 6:17 AM, Johan Geldenhuys <[EMAIL PROTECTED]> wrote: > Thanks Kent, > > Let me explain what I need it for. > > I have a systemUpTime is seconds that I got from a SNMP agent. > > I want to work out when the system uptime began and want to put that in ISO > format time to the m

Re: [Tutor] Support for datetime module

2008-09-07 Thread Johan Geldenhuys
dule? Any suggestion would be greatly appreciated. Thanks Johan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kent Johnson Sent: Saturday, 6 September 2008 23:08 PM To: [EMAIL PROTECTED] Cc: tutor@python.org Subject: Re: [Tutor] Support for datetime module On

Re: [Tutor] Support for datetime module

2008-09-06 Thread Kent Johnson
On Sat, Sep 6, 2008 at 2:42 AM, Johan Geldenhuys <[EMAIL PROTECTED]> wrote: > Hi all, > > I have want to use the datetime module on a system with ver 2.2.3 installed. > I know it's very old, but that's what I have to deal with and can't upgrade. > So please don't suggest that. > > As you know datet

[Tutor] Support for datetime module

2008-09-06 Thread Johan Geldenhuys
Hi all, I have want to use the datetime module on a system with ver 2.2.3 installed. I know it's very old, but that's what I have to deal with and can't upgrade. So please don't suggest that. As you know datetime was available from version 2.3. I want to know where can I get the datetim