Date: Sun, 26 Apr 1998 12:09:48 +0100 From: Karl Pielorz <kpielorz@tdx.co.uk> To: freebsd-bugs@FreeBSD.ORG Subject: Year 2000 Compliance - localtime? Message-ID: <354315FC.7532C42D@tdx.co.uk>
next in thread | raw e-mail | index | archive | help
I'm writing a program at the moment that does some date manipulation... My system is running 3.0-CURRENT as of a few days ago... Looking at the 'localtime' function - it returns a 'tm' structure, including: int tm_year; /* year - 1900 */ Printing the contents of the 'tm_year' only gives the last two digits of the year, i.e. it returns '98' at the moment... Is this right? - or are there some better functions or something I should be using? Regards, Karl Pielorz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?354315FC.7532C42D>