Solved

How to convert UTC time to Local?

Posted on 2001-08-08
3
1,180 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 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA "SendKeys" Syntax for Multiple Keystrokes 7 125
only14 challenge 19 84
mapAB Challlenge 35 173
"Black Box" Testing of Control System Software 2 96
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: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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