Add parseDate function

Native pipeline scripts requires approve to use Date.parse method,
so to avoid this create a new function.

Change-Id: I8f167c01162abec22c2e1356fad17f83aac703c0
Related-Prod: PROD-27169 (PROD:27169)
1 file changed