c# - Difference between System.DateTime and System.DateTimeOffset -


can explain difference between system.datetime , system.datetimeoffset in c#.net? best suited building web apps users different time zones?

a datetime value defines particular date , time, includes kind property provides limited information time zone date , time belongs.

the datetimeoffset structure represents date , time value, offset indicates how value differs utc. thus, value unambiguously identifies single point in time.

datetimeoffset should considered default date , time type application development uses datetimeoffset values more common datetime values.

see more info, code examples at: http://msdn.microsoft.com/en-us/library/bb384267.aspx


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -