Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

parseJSON

import { parseJSON } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
function parseJSON(dateStr: string): Date;
§
parseJSON(dateStr: string): Date
[src]

§Parameters

§
dateStr: string
[src]
  • A fully formed ISO8601 date string to convert

§Return Type

§
Date
[src]

The parsed date in the local time zone