[Tutor] Support for datetime module
Kent Johnson
kent37 at tds.net
Sun Sep 7 23:13:29 CEST 2008
On Sun, Sep 7, 2008 at 3:48 PM, Johan Geldenhuys <johan at accesstel.com.au> 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.strptime() and strftime() to parse /
format the time to the second and handle the milliseconds separately.
Kent
More information about the Tutor
mailing list