Replaced DateTime to DateTimeOffset