Store date as a timestamp instead of a long.