?
Solved

How to convert UTC time to Local?

Posted on 2001-08-08
3
Medium Priority
?
1,201 Views
Last Modified: 2013-11-20
I have a CTime previously converted to UTC-time and now I want to convert it back to LoaclTime how do I do that ?

0
Comment
Question by:TYB
3 Comments
 
LVL 31

Expert Comment

by:Zoppo
ID: 6364059
Hi TYB,

there's a function FileTimeToLocalFileTime which should do this ... therefor you'll have to convert your CTime to a FILETIME...

ZOPPO
0
 
LVL 86

Accepted Solution

by:
jkr earned 800 total points
ID: 6364226
See http://support.microsoft.com/support/kb/articles/Q245/7/86.ASP ('HOWTO: Convert from GMT(UTC) Time to Local Time')
0
 

Author Comment

by:TYB
ID: 6367314
Great! Tnx for the help
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Integration Management Part 2

840 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