Solved

How to convert UTC time to Local?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeatSeparator  java  challenge 13 58
difference between String.subString() and String.subSequence() 6 234
zeroMAx challenge 20 111
Path of Workbook 3 86
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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