How to convert UTC time to local time

Posted on 2007-10-15
Last Modified: 2010-08-05
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???

Question by:gem56
    LVL 10

    Accepted Solution


    Author Comment

    Thanks answer_me.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now