Javascript to parse string that may contain invalid daylight date : I need help to convert input string that looks something like '20160313023000' (invalid daylight saving date) to date in 'yyyyMMddHHmmss' format using javascript. 

Thanks in advance.