Date and Time Datatypes in SQLite
What are the various formats in which Date and Time Datatype can be stored in SQLite 3. How each is calculated by a System
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pravin MoreRank #1,419 · 1.2K reputationPosted Oct 18, 2011, 8:33 PM EDT
SQLite does not have a storage class set aside for storing dates and/or times. Instead, the built-in Date And Time Functionsof SQLite are capable of storing dates and times as TEXT, REAL, or INTEGER values:
Applications can chose to store dates and times in any of these formats and freely convert between formats using the built-in date and time functions.
Thanks,
Pravin.
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 19, 2011, 12:21 AM EDT
http://www.sqlite.org/datatype3.html