Module

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

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

Parameters

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