Variable: parseAsDate
ts
const parseAsDate: Parser<Date> & object;Defined in: parser/parsers.ts:200
Reads a date. A date without a time, as in day=2026-08-30, reads as midnight UTC, and only the date is written back.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
iso() | () => Parser<Date> | Returns a parser that writes the full ISO string. | parser/parsers.ts:202 |
timestamp() | () => Parser<Date> | Returns a parser that writes the milliseconds since the epoch. | parser/parsers.ts:204 |