Get timezone from DateTime

前端 未结 7 2324
Happy的楠姐
Happy的楠姐 2020-12-04 22:49

Does the .Net DateTime contain information about time zone where it was created?

I have a library parsing DateTime from a format that has \"+zz\" at the end, and wh

7条回答
  •  悲哀的现实
    2020-12-04 23:49

    From the API (http://msdn.microsoft.com/en-us/library/system.datetime_members(VS.71).aspx) it does not seem it can show the name of the time zone used.

提交回复
热议问题