I think you will find that verifying date formats will be tough. For us it is impossible as folks use long and short formats as well as MM/DD/YY and DD/MM/YY formats. Some use full 4 digits for year and some use the shortened format.
The only validation we do is that the date is within a valid range for what ever the date field is used for. Dave -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of rg25 Sent: Wednesday, October 15, 2008 10:40 AM To: [email protected] Subject: Re: date format validation Thanks for quickly response. I want to catch wrong input before that the system will throw some errors. Is it possible? Best regards Vahagn Grooms, Frederick W wrote: > > If you are using a Date Only or Date/Time field it does not matter. The > Remedy user tool will convert it to it's internal number format and make > sure it is a valid date. > > I can type in something like March 5, 2008 in a date field and the User > tool will convert it to 3/5/2008 (since I have it set to display the > "Short" format for dates). If I type in February 31, 2008 It tells me > it is not a valid date. > > Fred > > > -----Original Message----- > From: Action Request System discussion list(ARSList) > [mailto:[EMAIL PROTECTED] On Behalf Of rg25 > Sent: Wednesday, October 15, 2008 8:14 AM > To: [email protected] > Subject: date format validation > > Hi all, > > I have a problem with date format checking. > It must match to a pattern. > The pattern is "dd/mm/yyyy". > The main problem is how validate a manual input of user in a date field > with > the pattern. > > Thanks in advance. > > ________________________________________________________________________ _______ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" > > -- View this message in context: http://www.nabble.com/date-format-validation-tp19993237p19994945.html Sent from the ARS (Action Request System) mailing list archive at Nabble.com. ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

