Javascript date to string format timezone

Javascript date to string format timezone ... analyses a chain representation of a date, and returns the number of milliseconds since 1 of January 1970, 00:00:UTC or N if the chain is not recognised or in some cases contains illegal data values (e.g. 2015-02-31). ... unaccounted for values, it will return the NaN in all browsers complying with ... ................
................