
10 May
2003
10 May
'03
11:23 a.m.
At 11:21 AM 5/9/2003, Ben Hutchings wrote:
What to do if the filesystem doesn't attach any time at all to a file? Fail at compile time? Always return some date in the past, like January 1, 1900, that is impossible as a real mdate (since computers were not invented yet) and so can be relied upon to indicate "no date available"?
Use std::time_t(-1) to be consistent with std::time and std::mktime.
Makes sense. Thanks, --Beman