cur.execute('INSERT INTO foo(bar) VALUES (?)', (datetime.date(2003, 6, 25),))
cur.execute('SELECT ALL * FROM foo')
data = cur.fetchall()
data = zip(*data)[0]
print(data)
SQLite date storage and conversion