Wednesday, 14 August 2013

Storing a DateTime value in web sql

Storing a DateTime value in web sql

I'm confused about the DateTime field type in Web SQL (SQLite?).
Should I store my date/time values as a getTime() in milliseconds, or as a
YYYY-MM-DD HH:MM:SS:SSS string?
And if storing in milliseconds, what field type should I use?

No comments:

Post a Comment