Optimum usage of date regular expression conversion to help scheduling

Asked By 0 points N/A Posted on -
qa-featured

How one can effectively use "date regular expression conversion" to avoid hassles in scheduling and what are the measures to optimize its utility?

SHARE
Answered By 5 points N/A #139465

Optimum usage of date regular expression conversion to help scheduling

qa-featured

 

The use of regular expression validation of the date is to ensure that valid date format is entered to the database when you are dealing with programming.

If you do not validate the date field in a data entry form user might enter an empty string or a invalid data format which can cause retrieval and insertion of data with issues.

So decide your date format and write your regular expression according to that some of the date formats are as follows.

dd/MM/yyyy, MM/dd/yyyy, MMM/dd/yy, dd/MMM/yyyy

See below tutorial for more information on date format validation using regular expressions.

http://www.mkyong.com/regular-expressions/how-to-validate-date-with-regular-expression/

Related Questions