2 ms·
Yes, but it is trivial to then convert it to a date with the new Date() constructor.
by TazeTSchnitzel 13y ago
Yes, but it is trivial to then convert it to a date with the new Date() constructor.
- byroot 13y agoBut it's not trivial to know that it's a date. It's ok if you are expecting a Date. But when you want to write generic code that "discover" the properties, then you have to do dirty things, like trying to parse every single strings as a date.