How to convert UTC time to local time
Posted on 2007-10-15
How would I go about converting UTC time to local time.
I have a Timestamp value that was produced by Trace.TraceInformation function. At the same time I also executed Now() function that gave me local time, that should be representative (give or take a hair) of the Timestamp. How can I convert the Timestamp value to local time?
1) Now() time=15/10/2007 10:13:54 AM ---> Timestamp=2513405287161 ---> Local time???
1) Now() time=15/10/2007 10:39:08 AM ---> Timestamp=2535093945341 ---> Local time???