From: asah@CS.Berkeley.EDU (Adam Sah)
Subject: Re: Time/date problem
You could just wrap mktime to check for this (rare) case when you do get an
error. Since errors should uncommon, and since the check isn't that
expensive, the overhead should be acceptable.
I considered this, but was unable to make it work. You can't simply check
to see if the input date is 11:59:59 pm 12/31/69, because the date might
not be given to you in UTC -- it might be in some random time zone, described
by some mystic string comprehensible only to your OS. If I missed something,
let me know.