How would a constraint for a route look like that needs to be in the format:yyyy-MM-dd hh:mm?
especially with the space there?
I got @"\d{4}-\d{2}-\d{2}" so far, but not sure about the rest
How’s it done?
/M
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easy way would be
But that wont guarantee that its indeed a Date Time Value, you will have to re-check post binding, maybe with Angelov answer.
The other thing to notice is that your URL will get an ugly
%20for the space.