1

In visual studio (I'm using 2019), during debugging, when I hover over a DateTime object, it shows the date in Ticks instead of a readable date string (such as YYYY-MM-dd HH:mm:ss, etc).

The picture below shows this annoying behavior.

Text

I remember in my old visual studio 2017, it showed date-time objects in "YYYY-MM-DD HH:mm:ss.ttt" format. How do I change this?

user1034912
  • 2,153
  • 7
  • 38
  • 60

2 Answers2

4

I agree with reynoldsbj. I think you have pinned the Ticks property in the LoadAreaTo Drop down menu bar so that it will overwrite the default Date property.

This is a video about the detailed description:

enter image description here

You should unpin the property Ticks so that it will show date-time objects in YYYY-MM-DD HH:mm:ss.tt format.

Mr Qian
  • 21,064
  • 1
  • 31
  • 41
3

Click the dropdown in that previewer and unpin Ticks or pin Date if you want to see both.

reynoldsbj
  • 329
  • 1
  • 8