Datetime with float seconds

Xavier Ho contact at
Wed Aug 5 15:15:53 CEST 2009

On Wed, Aug 5, 2009 at 10:50 PM, kpal <kpalamartchouk at> wrote:

> Hello Everybody,
> The standard datetime has 1 microsecond granularity. My application
> needs finer time resolution, preferably float seconds. Is there an
> alternative to the out-of-the-box datetime? Timezone support is not
> essential.

This is a little outdated, but:

>>>from time import time

Usually gets me things like

Run time: 0.0279998779297 seconds.

So... that might be what you want.

- Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list