Re: strptime cannot parse date older than 1938
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=516trMwHN6IzNMyDBAgYLTnKPO7uSWQUs0C8e28ZkJ0=; b=kPLDVbHjWsOlAsywMlhrYYQ5JlDYARNOCpLNPiR6NMFhFv7niYZpwnZGA++CTf+hhbxK97fZVtjCmGKIWuFWIaW1fUyagps2VSswxgkaBwSWyM7bG3YNXorFJCDe1WOmGL8KkWoS1+qDlqObbLxX1pxqxvkByHASm+ehFGVNHgM= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OJXUU2nfPBasWej+HDbgvGlaD2vk1zsjYTpwurBPN/eKHpucyVNHEf4UV5zvuDs9aFKIU4Cwq4mbwmh/RgcfgNwY2BjIo6BEhsEqIAWsO0EkLY8mm2QffeyPeg9Wg0SOUOszFaXhPBZeFuuJ8TlLIbI/75KthqYn1WVv6TAbpeU= Martin Costabel wrote:
Well, on the Mac it only works if you compile for a 64bit architecture.
Does means that it internally uses the type time_t on mac osx?
You wrote "older than 1938" which is fine in English, but you did not mean 1938, you meant 2038. If in your program you write 1938 instead of 38 and %Y instead of %y, everything is OK. If you write 2038 and %Y, you get the same problem as for 38 and %y.
oh...I make a big written mistake. Luckily everybody here knows the real meaning. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Surf Chen