ref: 071e7ac0e8d145ee58395e85210f6121efa67c2c
dir: /sys/src/cmd/python/Doc/lib/sqlite3/parse_colnames.py/
import sqlite3
import datetime
con = sqlite3.connect(":memory:", detect_types=sqlite3.PARSE_COLNAMES)
cur = con.cursor()
cur.execute('select ? as "x [timestamp]"', (datetime.datetime.now(),))
dt = cur.fetchone()[0]
print dt, type(dt)