Re: strptime cannot parse date older than 1938
Re: strptime cannot parse date older than 1938
- Subject: Re: strptime cannot parse date older than 1938
- From: Martin Costabel <email@hidden>
- Date: Thu, 24 Apr 2008 13:05:04 +0200
Peter Seebach wrote:
In message <email@hidden>, Steve Checkoway w
rites:
I didn't play with any other dates, but I have no idea how you're
getting 70 from the program you pasted. 69 is incorrect, but at least
makes sense.
Time zone.
To elaborate: "Epoch" is "00:00:00 UTC, January 1, 1970" (see man date),
and this can be a date in 1969 or in 1970, depending on your timezone. Try
date -r 0
to see what it is in your case.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden