Read up on java.text.SimpleDateFormat
> -----Original Message-----
> From: Carlos Santos [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, September 13, 1999 8:55 AM
> To: [EMAIL PROTECTED]
> Subject: Dates ?
>
> Hi,
>
> I've got this on one of my servlets:
>
> Calendar calendar_aux = Calendar.getInstance();
> out.println(calendar_aux.getTime().toString() + "<br>");
>
> which returns
>
> Mon Sep 13 12:54:21 GMT 1999
>
> Is there an easy way to convert this to a mm/dd/yyyy format ?
>
> Thanks and sorry for the newbie question.
> Carlos.
>
>
>
>
>
>
> -----------------------------------------------------
> CARLOS SANTOS (ICQ: 21537583)
> NETOSFERA: http://www.netosfera.pt
> Tel(Phone): (+351 53 276998)
> Fax: (+351 53 274255)
> Braga - Portugal
>
> __________________________________________________________________________
> _
> 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