Module

x/zod/mod.ts>z.ZodString#datetime

TypeScript-first schema validation with static type inference
Extremely Popular
Latest
method z.ZodString.prototype.datetime
import { z } from "https://dotland.deno.dev/x/zod@v3.23.8/mod.ts";
const { ZodString } = z;

Parameters

optional
options: string | { message?: string | undefined; precision?: number | null; offset?: boolean; local?: boolean; }