Fixed DateTime compiler errors.
Merge pull request #1238 from esdrubal/datetimeoffset

Fixed DateTime compiler errors.