parseISO (JavaScript)

Creates a Date object representing a specified time in ISO format.

Defined in

Date (Standard - JavaScript)

Syntax

parseISO(str:string) : Date
Parameters Description
str String representing the date in the format generated by toISOString (JavaScript).
Return value Description
Date The date object.

Examples

This computed label creates and displays a new date.
var date = new Date().parseISO("2006-11-26-11.25.36");
date.toString()