Re: [Evolution] Islamic Calendar Support File (Progress!)



If that's the case, what *is* the recommended way of handling dates
prior to 1970?

struct tm (or roll your own, since struct tm doesn't have exactly the
same members everywhere). time_t's are only required to make sense for
current times, not all past and future times.

Besides, what if I want to schedule appointments with millisecond
accuracy? :-)

Well - like somebody said - If its /prior/ to 1970 and use mktime on that
function it will return (time_t)-1

Also - it is my belief that the iCal spec uses time_t to store appointments
(so I've been told) so you can not use a tm struct to handle dates prior to
1970 on a calendar





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]