I don't know if Java has static references returning October instead of 10
but if not why not just create a simple static method like:
public static String getMonth(int month)
that returns the string for the month? If you do this you might as well not
increment the 0 based months and just return October for 9 because January
starts at 0.
Matt
-----Original Message-----
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 10, 2000 12:46 PM
To: java Mysql
Subject: Next date Question
How do you get a month back as a string?
Like "October" instead of the number 10?
Hey, someone has got to ask the questions.
Thanks in advance.
--
Vincent Stoessel [EMAIL PROTECTED]
Internet Applications Engineer
IDEV http://www.idev.com
V: 301 495 7345 x129
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail [EMAIL PROTECTED] instead.
___________________________________________________________________________
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