Encode datetimes as unix timestamps.

Just better for everybody.