praveen1981
asked on
Regular Expression for yyyymmdd in c#.net
Hi
can you please say me how to do Regular Expression for yyyymmdd in c#.net
can you please say me how to do Regular Expression for yyyymmdd in c#.net
^([2-9]\d{3}((0[1-9]|1[012 ])(0[1-9]| 1\d|2[0-8] )|(0[13456 789]|1[012 ])(29|30)| (0[13578]| 1[02])31)| (([2-9]\d) (0[48]|[24 68][048]|[ 13579][26] )|(([2468] [048]|[357 9][26])00) )0229)$
DateTime.Now.ToString("yyy yMMdd", System.Globalization.Cultu reInfo.Get CultureInf o("en-US") );
Try above code.
Try above code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It Solved
http://stackoverflow.com/q