Is there a high resolution (microsecond, nanosecond) DateTime object available for the CLR?

前端 未结 6 1340
情深已故
情深已故 2020-12-08 05:02

I have an instrument that stores timestamps the microsecond level, and I need to store those timestamps as part of collecting information from the instrument. Note that I do

6条回答
  •  隐瞒了意图╮
    2020-12-08 05:19

    You might be able to use DateTime after all. DateTime.Ticks' resolution is 100 nanoseconds. You can set the ticks with DateTime.AddTicks.

提交回复
热议问题