Forum : date
Brief description  about Online courses   join in Online courses
View Karm jeet singh 's Profile

date

Change the date format from "yyyy-mm-dd" to "mm/dd/yyyy" using regular expressions.
Asked by Karm jeet singh | Nov 21, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Karmjeet singh,

By using ^(19|20)\d\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])$ you can change the date format to you required form.
Nov 22, 2010