Convert 64-bit hexadecimal values ​​to nanoseconds

I have timestamps that are presented in 64 bit hexadecimal format. Is there a way to convert it to nanoseconds? (preferably in C ++)

0
source share
1 answer

Found it!

I used std :: hex to convert the hex value to long, which in turn gives me nanosecond precision.

0
source

Source: https://habr.com/ru/post/1258730/


All Articles