utc/validate
isValidHttpDate: Return true whenvalueis a real HTTP header date: the RFC 9110 §5.6.7 HTTP-date that headers likeLast-Modified,DateandExpirescarry, such asFri, 15 Mar 2024 14:30:00 GMT.isValidUtc: Return true when the provided string is a valid ISO 8601 UTC datetime.isValidUtcRange: Return true ifvalue1andvalue2form a valid UTC range — both parseable as ISO UTC datetime strings and the instant atvalue1is before the instant atvalue2.isValidUtcTimestamp: Return true whenvalueis a real UTC instant written asYYYY-MM-DDTHH:MM:SS[.f]Zand nothing else: a narrower check thanisValidUtc.
Accessibility
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.