How do you convert epoch time in C#?

后端 未结 14 2475
野的像风
野的像风 2020-11-22 06:51

How do you convert Unix epoch time into real time in C#? (Epoch beginning 1/1/1970)

14条回答
  •  自闭症患者
    2020-11-22 07:08

    You actually want to AddMilliseconds(milliseconds), not seconds. Adding seconds will give you an out of range exception.

提交回复
热议问题