Title: Date functions
You want to investigate the DateFormat object.  (java.text.DateFormat)
 
 
A useful resource for everyone's Java questions:
 
http://java.sun.com/j2se/1.3/docs/api/index.html
 
Billy
[EMAIL PROTECTED]
(310) 582-7642
-----Original Message-----
From: Troy Campano [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: Date functions
Importance: Low

Hello I'm a former ASP web programmer.  In ASP there is a function called cdate().  The CDate function converts any valid date and time expression to the variant of subtype DATE.

For example:

<% anydate = "June 26, 1943" %>
<% =CDate(anydate) %>


Would output:

6/26/43

It basically converted all imaginable date formats into one standard format.
Does anyone know of a function similar to this is JSP/Java??????



Thank you for your time!





[:==> Troy Campano <==:]

Reply via email to