date format help
Posted: Wed Jul 18, 2012 2:05 pm
Hello All,
I have a date coming to my application and within the application I need to convert date format using regex. Could some one help me.
my input date could be any of following...
this is just an example date
12/12/12
1/12/12
12/1/12
12/12/2012
1/12/2012
12/1/2012
and my desired output should be 12/12/2012 (dd/mm/yy).
For example, if input date is (18/7/12) I will need to convert that to 18/07/2012.
Thanks
I have a date coming to my application and within the application I need to convert date format using regex. Could some one help me.
my input date could be any of following...
this is just an example date
12/12/12
1/12/12
12/1/12
12/12/2012
1/12/2012
12/1/2012
and my desired output should be 12/12/2012 (dd/mm/yy).
For example, if input date is (18/7/12) I will need to convert that to 18/07/2012.
Thanks