Const
Validates or coerces a string to a Temporal.PlainDateTime.
Accepts ISO 8601 date-time strings without timezone (e.g. 2023-01-15T13:45:30) or existing PlainDateTime instances.
2023-01-15T13:45:30
PlainDateTime
Includes JSON Schema metadata (pattern, description) so z.toJSONSchema() produces a correct JSON Schema.
pattern
description
z.toJSONSchema()
Validates or coerces a string to a Temporal.PlainDateTime.
Accepts ISO 8601 date-time strings without timezone (e.g.
2023-01-15T13:45:30) or existingPlainDateTimeinstances.Includes JSON Schema metadata (
pattern,description) soz.toJSONSchema()produces a correct JSON Schema.