Take the 2-minute tour ×

I'm new with MVC 4, also I'm new with .net. I tried this to validate date (didn't work):

public string Bdate { get; set; }

i did see this.

i need regular expression works for 1900s and 2000s(for all dates )

please help me.(please regular expression answer)

share|improve this question

1 Answer 1

up vote 2 down vote accepted
public string Bdate { get; set; }
share|improve this answer
thanks it worked –  Muath Dec 4 '13 at 8:31

Your Answer


