Thanks all who helped me.
I used the Date() of javascript like this
<SCRIPT language = "JavaScript">
<!-->
var dt = new Date()
document.write(dt)
-->
</Script>
----- Original Message -----
From: Nagaprakash C S <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 2:56 PM
Subject: Re: How to get date and time ?
> Try using the java.util.Calendar functions
> it has lot of unctions for all ur needs
>
> hope it helps
> Prakash
>
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Satyajit Roshan
> Sent: Wednesday, July 19, 2000 5:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to get date and time ?
>
>
> Hi
> Use Java Script Date objects.
> Satyajit.
> ----- Original Message -----
> From: Yasir Feroze Minhas <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 21, 2000 12:37 PM
> Subject: How to get date and time ?
>
>
> > Hi all,
> >
> > I am writing a JSP application in which I need to get client's date and
> > time. My client can be in the USA, in Japan, In Africa, anywhere in the
> > world. So please tell me what is the best suited method to get the date
> and
> > time according to my client's time zone.
> >
> > Thanks in advance
> > Yasir
> >
> >
>
===========================================================================
> > 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
>
>
===========================================================================
> 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
>
>
===========================================================================
> 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
===========================================================================
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