On Thu, 27 Apr 2000, Munish Talwar wrote:
> Can anybody tell me how can I find today's date in Java.
> In Oracle or Microsoft
> we use sysdate, or now to do this but in java what do we have for this
Well, you didn't say Oracle or Microsoft WHAT - it's not like they have
only one product each - but Java programs can determine the current date
and time as follows:
java.util.Date now=new java.util.Date();
-----------------------------------------------------------
Joseph B. Ottinger [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo HOMES.COM Developer
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets