On Mon, Feb 02, 2004 at 01:57:15AM -0500, Tom Lane wrote: > Claudio Natoli <[EMAIL PROTECTED]> writes: > > Under Win32, localtime returns NULL for dates pre 1970. > > Count on Microsloth to get it wrong :-(
I had a discussion about time_t some weeks ago. There is nothing in the standard that says time_t must be a signed, all it says is that (time_t)(-1) represents an invalid value. There are other OS's that have an unsigned time_t. Kurt ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org