A few months ago I was introduced to the new DateTimeOffset type and was glad DateTime\'s flaws with regard to time zones were finally taken care of.
However, I was
Whilst I wouldn't PREFER to use DateTime over DateTimeOffset, please note that sometimes you NEED to, as MS .Net does not support DateTimeOffset as a DataColumn.DataType property DataColumn.DataType Property even though SQL datetimeoffset has been around since SQL2008.
I myself had a problem with reading (ReadXml
) a DateTimeOffset value of an XML exported DataSet with XmlReadMode.InferTypedSchema
; it read it as a DateTime and crashed when I tried to merge it into a DateTimeOffset column