InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantDB: TIME values getting dropped?


Hi,
Has anyone had a problem with trying to store a timestamp in the InstantDB?
Basically, what I'm experiencing is that the database chops off all time
information and only stores the date.

This is what I've been doing to date. (simplified)

Date d = new Date();
db.RunSQL( " INSERT INTO table1 ( myDateField) VALUES ('" + d.toGMTString +
"')");

The GMT format is coming in as: 20 Oct 2000 19:07:36 GMT
But when I display the records in the table, I get the follow output:
2000-10-20

I've tried using the DATETIME, the DATE, and the TIME field types to no
avail.

Any ideas would be greatly appreciated.

Thanks,
David McTavish
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.