Skip to main content

Timeline for mktime returns -1 but valid data

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Jun 18, 2022 at 11:34 comment added phuclv yes, std::chrono is the Swiss-knife for date/time handling and it contains everything, no need to resort to ancient C tools. The code would be much shorter
Jun 18, 2022 at 11:23 comment added IFThenElse KTIme is an own class for time handling. This function is just to validate the given date, not to fill any values or parameter.
Jun 18, 2022 at 11:19 vote accept IFThenElse
Jun 18, 2022 at 9:33 history edited phuclv
edited tags
Jun 18, 2022 at 9:32 comment added phuclv KTime::Set is definitely not C, and then you can set which isn't a valid function here. But in C++ why don't just use std::chrono?
Jun 18, 2022 at 9:10 answer added AKX timeline score: 6
Jun 18, 2022 at 9:08 history asked IFThenElse CC BY-SA 4.0