> From: James Harris <[EMAIL PROTECTED]>
> I have a requirement to store timestamps in a database. ...
> 1) subsecond resolution - milliseconds or, preferably, more detailed
How do you plan to deal with leap seconds?
- Stick to astronomical time, which is absolutely consistent but
which drifts
> From: Robert Kern <[EMAIL PROTECTED]>
> As you can see in the datetime documentation, the module was introduced
> in Python 2.3. I recommend updating your Python installation.
What do you mean "your"?? I don't have any Python installation of my
own. All I have is what this small local ISP provid
> From: John Abel <[EMAIL PROTECTED]>
> time - http://docs.python.org/lib/module-time.html
Ah, thanks! It works here, whereas:
> datetime - http://docs.python.org/lib/module-datetime.html
doesn't work, no such module, see:
http://groups-beta.google.com/group/comp.lang.python/msg/0e4307f5cfa28b
> From: Sakesun Roykiattisak <[EMAIL PROTECTED]>
> import datetime
> print datetime.datetime.now()
That doesn't work here:
% python
Python 2.2.2 (#1, Feb 17 2003, 21:01:54)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> import