Use SQLite

For anyone wanting to deal with dates in the SQLite database, @donvnielsen came up with a nice solution here.

Apparently taking the bigint for a date and dividing by 10000000 and then subtracting 62135596800 will give you a Unix timestamp. I also believe taking the bigint for the estimate on an assignment and dividing by 10000000 will also give you total seconds.

On the other hand, if you’re dealing with this from a .NET codebase, you can deal with dates & times and durations of time by just using the constructors for DateTimeOffset and TimeSpan, respectively.

Edit: corrected the constant per @donvnielsen‘s reply below.