[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to convert UTC time to local time

Posted on 2007-10-15
2
Medium Priority
?
6,276 Views
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???

Thanks
     /Michael
0
Comment
Question by:gem56
2 Comments
 
LVL 10

Accepted Solution

by:
answer_me earned 1000 total points
ID: 20076561
0
 

Author Comment

by:gem56
ID: 20077325
Thanks answer_me.
/Michael
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

873 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