Click here to Skip to main content
15,922,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hello Pin
Richard MacCutchan10-Jan-14 1:10
mveRichard MacCutchan10-Jan-14 1:10 
GeneralRe: Hello Pin
MrKBA10-Jan-14 2:16
MrKBA10-Jan-14 2:16 
GeneralRe: Hello Pin
Richard MacCutchan10-Jan-14 2:29
mveRichard MacCutchan10-Jan-14 2:29 
AnswerRe: Hello Pin
Stefan_Lang10-Jan-14 3:50
Stefan_Lang10-Jan-14 3:50 
GeneralRe: Hello Pin
MrKBA15-Jan-14 0:03
MrKBA15-Jan-14 0:03 
GeneralRe: Hello Pin
Stefan_Lang15-Jan-14 0:08
Stefan_Lang15-Jan-14 0:08 
GeneralRe: Hello Pin
MrKBA15-Jan-14 3:05
MrKBA15-Jan-14 3:05 
GeneralRe: Hello Pin
Stefan_Lang15-Jan-14 4:40
Stefan_Lang15-Jan-14 4:40 
Questiona real problem i been facing in release mode Pin
jone201329-Jan-14 20:33
jone201329-Jan-14 20:33 
AnswerRe: a real problem i been facing in release mode Pin
SoMad9-Jan-14 20:54
professionalSoMad9-Jan-14 20:54 
GeneralRe: a real problem i been facing in release mode Pin
jone201329-Jan-14 21:02
jone201329-Jan-14 21:02 
GeneralRe: a real problem i been facing in release mode Pin
SoMad9-Jan-14 21:08
professionalSoMad9-Jan-14 21:08 
GeneralRe: a real problem i been facing in release mode Pin
jone201329-Jan-14 21:33
jone201329-Jan-14 21:33 
AnswerRe: a real problem i been facing in release mode Pin
Jochen Arndt9-Jan-14 21:08
professionalJochen Arndt9-Jan-14 21:08 
GeneralRe: a real problem i been facing in release mode Pin
jone201329-Jan-14 21:24
jone201329-Jan-14 21:24 
AnswerRe: a real problem i been facing in release mode Pin
Stefan_Lang9-Jan-14 22:34
Stefan_Lang9-Jan-14 22:34 
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 

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.