Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.0.0-alpha.32/parseISO/index.js";

Examples

// Convert string '2014-02-11T11:30:30' to date: var result = parseISO('2014-02-11T11:30:30') //=> Tue Feb 11 2014 11:30:30

// Convert string '+02014101' to date, // if the additional number of digits in the extended year format is 1: var result = parseISO('+02014101', { additionalDigits: 1 }) //=> Fri Apr 11 2014 00:00:00

Parameters

argument
  • the value to convert
dirtyOptions