date support for old browsers

Some old browser don't support ISO date parsing, this is a simple check for date validity even when ECMA lack support of ISO dates