Solved

How to convert UTC time to Local?

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to calculate times for developing software? 8 60
Add content to output file 4 58
Hibernate methods 2 58
lucky13 challenge 11 112
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: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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 video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now