469,281 Members | 2,484 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,281 developers. It's quick & easy.

milliseconds are not stored in the timestamp KInterbasDB + Firebird

I am trying to insert "timestamp" to the Firebird database using
standard library datetime module example given in the "KInterbasDB
Usage Guide" http://tinyurl.com/mplo4 , section "Example Programs
DATE/TIME/TIMESTAMP"

Even timestamp has the correct format before inserting to the database
(2006-26-2 17:25:34.940279 for example), milliseconds are not stored
and the database returns (2006,26,2,17,25,34). I have made some
Googling the whole afternoon to find if it is possible to configure
Firebird or KInterbasDB, but no success.

My environment: Fedora Core4, Firebird CS 1.5, Python 2.4.1,
KInterbasDB 3.2b1

Thanks for your advices.
Petr Jakes

May 2 '06 #1
1 2271
to provide feedback: David Rushby (the autor of the KInterbasDB) has
solved the problem applying such a future in the code. Thank you David.

snapshots:

http://kinterbasdb.sourceforge.net/s...503.src.tar.gz
http://kinterbasdb.sourceforge.net/s...-2.0-py2.4.exe

Petr Jakes

May 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by R Baumann | last post: by
2 posts views Thread by fowlertrainer | last post: by
reply views Thread by fowlertrainer | last post: by
1 post views Thread by Benny Schudel | last post: by
reply views Thread by DarkBlue | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.