How to convert UTC time to local time

Hi guys,
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???

Thanks
     /Michael
gem56Asked:
Who is Participating?
 
gem56Author Commented:
Thanks answer_me.
/Michael
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.