Get timezone from DateTime

前端 未结 7 2308
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:27

    There is a public domain TimeZone library for .NET. Really useful. It will answer your needs.

    Solving the general-case timezone problem is harder than you think.

提交回复
热议问题