parseAsIsoDate
const parseAsIsoDate: Parser<Date>;Defined in: tanstack/core/built-in-parsers.ts:179
Date stored as an ISO date without a time component (YYYY-MM-DD).
"2026-12-25" parses to UTC midnight; serializing and equality use the
UTC calendar day, so two Dates on the same UTC day are equal.
Example
Section titled “Example”import { parseAsIsoDate } from "@xtandard/lib/tanstack";
parseAsIsoDate.parse("2026-12-25"); // → Date 2026-12-25T00:00:00.000ZparseAsIsoDate.serialize(new Date("2026-12-25T15:30:00Z")); // → "2026-12-25"