Click here to Skip to main content
15,917,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: postmessage Pin
Victor Nijegorodov10-Aug-23 21:45
Victor Nijegorodov10-Aug-23 21:45 
QuestionWriting console c++ apps... console API or library? Pin
Texas45191-Aug-23 0:04
Texas45191-Aug-23 0:04 
AnswerRe: Writing console c++ apps... console API or library? Pin
Victor Nijegorodov1-Aug-23 0:15
Victor Nijegorodov1-Aug-23 0:15 
AnswerRe: Writing console c++ apps... console API or library? Pin
Richard MacCutchan1-Aug-23 0:31
mveRichard MacCutchan1-Aug-23 0:31 
AnswerRe: Writing console c++ apps... console API or library? Pin
CPallini1-Aug-23 1:02
mveCPallini1-Aug-23 1:02 
AnswerRe: Writing console c++ apps... console API or library? Pin
k50541-Aug-23 5:09
mvek50541-Aug-23 5:09 
AnswerRe: Writing console c++ apps... console API or library? Pin
jschell17-Aug-23 6:03
jschell17-Aug-23 6:03 
Questionparsing time (only) string with std::chrono Pin
Maximilien28-Jul-23 10:05
Maximilien28-Jul-23 10:05 
AnswerRe: parsing time (only) string with std::chrono Pin
Richard Andrew x6428-Jul-23 13:04
professionalRichard Andrew x6428-Jul-23 13:04 
AnswerRe: parsing time (only) string with std::chrono Pin
Mircea Neacsu28-Jul-23 16:56
Mircea Neacsu28-Jul-23 16:56 
GeneralRe: parsing time (only) string with std::chrono Pin
Maximilien31-Jul-23 5:02
Maximilien31-Jul-23 5:02 
AnswerRe: parsing time (only) string with std::chrono Pin
Andre Oosthuizen28-Jul-23 22:50
mveAndre Oosthuizen28-Jul-23 22:50 
Questionhow i convert my x86 project in x64 Pin
Le@rner25-Jul-23 1:46
Le@rner25-Jul-23 1:46 
AnswerRe: how i convert my x86 project in x64 Pin
Richard MacCutchan25-Jul-23 6:14
mveRichard MacCutchan25-Jul-23 6:14 
GeneralRe: how i convert my x86 project in x64 Pin
Le@rner25-Jul-23 18:57
Le@rner25-Jul-23 18:57 
AnswerRe: how i convert my x86 project in x64 Pin
bingbing45716-Aug-23 18:31
professionalbingbing45716-Aug-23 18:31 
QuestionVS6 (C++), Group Bar - icon instead of text - how to? Pin
shupike23-Jul-23 1:26
shupike23-Jul-23 1:26 
AnswerRe: VS6 (C++), Group Bar - icon instead of text - how to? Pin
Gerry Schmitz23-Jul-23 5:23
mveGerry Schmitz23-Jul-23 5:23 
GeneralRe: VS6 (C++), Group Bar - icon instead of text - how to? Pin
shupike23-Jul-23 6:13
shupike23-Jul-23 6:13 
GeneralRe: VS6 (C++), Group Bar - icon instead of text - how to? Pin
Richard MacCutchan23-Jul-23 7:50
mveRichard MacCutchan23-Jul-23 7:50 
QuestionRe: VS6 (C++), Group Bar - icon instead of text - how to? Pin
Mircea Neacsu23-Jul-23 12:52
Mircea Neacsu23-Jul-23 12:52 
QuestionDate Time Picker standard time to daylight savings time problem Pin
Member 1577206119-Jul-23 3:06
Member 1577206119-Jul-23 3:06 
QuestionRe: Date Time Picker standard time to daylight savings time problem Pin
David Crow19-Jul-23 3:23
David Crow19-Jul-23 3:23 
AnswerRe: Date Time Picker standard time to daylight savings time problem Pin
Member 1577206119-Jul-23 5:27
Member 1577206119-Jul-23 5:27 
AnswerRe: Date Time Picker standard time to daylight savings time problem Pin
Mircea Neacsu19-Jul-23 3:40
Mircea Neacsu19-Jul-23 3:40 
You provide to little information to be able to help. What data store are you using? How are the dates stored? In what time units you calculate (days, hours, seconds)? For instance from Mar 11, 2023 03:00:00 to Mar 12, 2023 03:00:00 there are only 23 hours so your system might say it's less than a day.

Having worked for a long time with time, my advice is to always use UTC. It's the only (almost) uniform time scale and computations to and from local time can be handled relatively easy.
Mircea

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.