Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: Date format handling before inserting to sybase
Date: Feb 23 1996 10:38AM
> From: Frank Gessner
> I couldn't find a build in function to check an entered
> string (of an input field) for its currect data format. eg.
> '23-02-96'. If there is anthing grap entered I would like to check
> and modify the string before inserting to a sybase datetime field.
> Thank you in advance.
There's no general purpose field validation routine.
For date values, you may want to check out the Date::DateCalc module (I
haven't looked, but it's probably available at CPAN/authors/id/STBEY).