?
Solved

How to convert UTC time to Local?

Posted on 2001-08-08
3
Medium Priority
?
1,192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa‚Ķ
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

777 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