This is all TOTALLY off-topic.

Please cease discussion of it in this forum.


Nic Ferrier



>>> "Matthew H. North" <[EMAIL PROTECTED]> 25-Jan-00 6:43:32 PM >>>
I don't really do Java, but are you sure the return value of the
getYear
function isn't (properly) year - 1900?  This is the way the C
localtime
function works.  There's nothing wrong with that, and it certainly
isn't a
Y2K bug.

Matthew H. North
Programmer/Engineering
  ___  ____  ___
 /      /   /__   Network | Tel 858/637-3600 | Mail: [EMAIL PROTECTED]
/__    /   ___/  Services | Fax 858/637-3630 | WWW:
http://www.cts.com


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java
Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Mikhail A.Golovanov
Sent: Monday, January 24, 2000 8:16 PM
To: [EMAIL PROTECTED]
Subject: Re: getYear() error


Congratulations. Y2K problem does exist, doesn't it.

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java
Servlet API
Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Kishor
Patel
Sent: Monday, January 24, 2000 11:47 AM
To: [EMAIL PROTECTED]
Subject: getYear() error


Hey Dan,
        I also have the same problem. Could you please send me some
info as
to
how to solve this problem. Infact for me when I try to get year on a
year  2000 date object then it returns me 100 (2000 - 1900). I have
to
manually change this but is there anyway I can get the right year
from
Date object itself????

Thanks.

Kishor.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html

Resources:
http://java.sun.com/products/servlet/external-resources.html

LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html

Resources:
http://java.sun.com/products/servlet/external-resources.html

LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to