Hi folks,
I used some JavaScript from "http://www.mattkruse.com/javascript/date/index.html" to improve on the format strings "x:inputCalendar.popupDateFormat" can handle.
From the web site:
--snip-snip--
These functions are very useful when dealing with any type of date fields. They use the same format strings as the java.text.SimpleDateFormat class, with a few minor exceptions.
Functions include:
isDate() - Check if a date is valid
compareDates() - See if one date is greater than another
formatDate() - Output a Date() object in any format
getDateFromFormat() - Parse a date string and return time in ms representing date object
--snip-snip--
I've pretty much hacked it into the component, but prehaps someone who can do it better can include it in the next release?
Cheers, Graeme
-- Graeme Pyle
Raspberry Solutions
Email: [EMAIL PROTECTED] Cell: 083 415 1642 Office: (011) 447 5396 Web: www.raspberry.co.za
