Inspecting DateTime values

Currently I use dotnetFiddle to inspect DateTime values by first copying the dateData displayed by dotMemory to a text editor and then put the hexstring into the code  below. (I could use the uint64 value as well but all the dots in the integer formatting are disturbing), see examples below.

        Console.WriteLine(DateTime.FromBinary(Convert.ToInt64("0x48DD6CB9EF8BD072",16)).ToString("yyyy-MM-dd HH:mm:ss"));
        Console.WriteLine(DateTime.FromBinary(5250472701327256825).ToString("yyyy-MM-dd HH:mm:ss"));

However this is tedious and one would expect better support of DateTime in dotMemory to the effect, that it directly interprets DateTime dataype correctly.


 

0
1 comment

Hi! 

Thank you for your feedback. We have created a ticket in our tracker according to your request.

0

Please sign in to leave a comment.