Date objects are now handled as long values. NB: this may not be
backwards compatible with existing databases, even though the colum type
hasn't changed. Sqlite's date handling is strange.