Related questions
Convert C# DateTime to Javascript Date
I have a function in Javascript that receives a C# DateTime from MVC.
If the date is null it should return "-", if it's a valid date it should return the formated date.
IMPORTANT: It's not possible to send the …
RFC 2822 and ISO 8601 date format regex
In JavaScript there is Date.parse() method, which parses a string representing an RFC 2822 or ISO 8601 date (see MDN). Among tons of various sources on the web, what are the most reliable and comprehensive regular expressions able to match those …