Click here to Skip to main content
15,896,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a real problem i been facing in release mode Pin
jone2013210-Jan-14 9:43
jone2013210-Jan-14 9:43 
AnswerRe: a real problem i been facing in release mode Pin
Alan Balkany10-Jan-14 5:21
Alan Balkany10-Jan-14 5:21 
GeneralRe: a real problem i been facing in release mode Pin
jone2013214-Jan-14 7:22
jone2013214-Jan-14 7:22 
AnswerRe: a real problem i been facing in release mode Pin
jschell12-Jan-14 9:00
jschell12-Jan-14 9:00 
GeneralRe: a real problem i been facing in release mode Pin
jone2013214-Jan-14 7:25
jone2013214-Jan-14 7:25 
QuestionFile time issue Pin
_Flaviu7-Jan-14 0:55
_Flaviu7-Jan-14 0:55 
AnswerRe: File time issue Pin
Richard MacCutchan7-Jan-14 2:53
mveRichard MacCutchan7-Jan-14 2:53 
AnswerRe: File time issue Pin
Jochen Arndt7-Jan-14 3:02
professionalJochen Arndt7-Jan-14 3:02 
The CTime class represents dates and times in UTC (the filetime stored on the disk is also UTC). If you want to show local times you must convert the timestamp. This can be done using localtime() and SystemTimeToTzSpecificLocalTime(). Depending on the timezone, the times shown by the Explorer of different Windows versions may be not identical. When using an old OS version without updated DST information and the DST switch dates has been changed, it may show wrong values.

EDIT:
Quote:
the filetime stored on the disk is also UTC
is wrong and must be: 'the filetime stored on NTFS partitions is also UTC'.

FAT uses local times. See also File Times[^] in the MSDN.
GeneralRe: File time issue Pin
_Flaviu7-Jan-14 21:45
_Flaviu7-Jan-14 21:45 
GeneralRe: File time issue Pin
Richard MacCutchan7-Jan-14 22:06
mveRichard MacCutchan7-Jan-14 22:06 
GeneralRe: File time issue Pin
Jochen Arndt7-Jan-14 22:39
professionalJochen Arndt7-Jan-14 22:39 
GeneralRe: File time issue Pin
_Flaviu8-Jan-14 1:14
_Flaviu8-Jan-14 1:14 
GeneralRe: File time issue Pin
Jochen Arndt8-Jan-14 1:33
professionalJochen Arndt8-Jan-14 1:33 
GeneralRe: File time issue Pin
_Flaviu8-Jan-14 1:44
_Flaviu8-Jan-14 1:44 
GeneralRe: File time issue Pin
Jochen Arndt8-Jan-14 2:13
professionalJochen Arndt8-Jan-14 2:13 
GeneralRe: File time issue [solved] Pin
_Flaviu9-Jan-14 2:11
_Flaviu9-Jan-14 2:11 
GeneralRe: File time issue [solved] Pin
Jochen Arndt9-Jan-14 3:30
professionalJochen Arndt9-Jan-14 3:30 
QuestionIncrement and Decrement Operators Pin
tgsb6-Jan-14 20:57
tgsb6-Jan-14 20:57 
AnswerRe: Increment and Decrement Operators PinPopular
Richard MacCutchan6-Jan-14 22:00
mveRichard MacCutchan6-Jan-14 22:00 
GeneralRe: Increment and Decrement Operators Pin
Suk@nta7-Jan-14 0:27
Suk@nta7-Jan-14 0:27 
GeneralRe: Increment and Decrement Operators Pin
Richard MacCutchan7-Jan-14 0:35
mveRichard MacCutchan7-Jan-14 0:35 
GeneralRe: Increment and Decrement Operators Pin
Marco Bertschi7-Jan-14 1:27
protectorMarco Bertschi7-Jan-14 1:27 
GeneralRe: Increment and Decrement Operators Pin
Richard MacCutchan7-Jan-14 2:48
mveRichard MacCutchan7-Jan-14 2:48 
GeneralRe: Increment and Decrement Operators Pin
Marco Bertschi7-Jan-14 9:41
protectorMarco Bertschi7-Jan-14 9:41 
GeneralRe: Increment and Decrement Operators Pin
Richard MacCutchan7-Jan-14 21:55
mveRichard MacCutchan7-Jan-14 21:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.