Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/date_fns/index.js>parseISO

date-fns Deno package
Very Popular
Go to Latest
function parseISO
import { parseISO } from "https://deno.land/x/date_fns@v2.0.0-alpha.35/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