{"id":3883,"date":"2019-06-28T21:23:58","date_gmt":"2019-06-28T15:53:58","guid":{"rendered":"https:\/\/pynative.com\/?p=3883"},"modified":"2021-03-09T10:57:35","modified_gmt":"2021-03-09T05:27:35","slug":"python-sqlite-date-and-datetime","status":"publish","type":"post","link":"https:\/\/pynative.com\/python-sqlite-date-and-datetime\/","title":{"rendered":"Python SQLite working with Date and DateTime"},"content":{"rendered":"\n

This lesson demonstrates how to work with SQLite date and timestamp types in Python and vice-versa. Most of the time, we need to insert Python date<\/code> or DateTime<\/code> value into an SQLite table. Also, we need to read the SQLite date and timestamp values stored in the SQLite3 database and convert them into Python date<\/code> and DateTime<\/code> types.<\/p>\n\n\n\n

\n
\n

Also Read<\/strong>:<\/p>\n\n\n\n