Skip to content

utc/compare

  • The core functions, which every industry uses.
  • areUtcEqual: Return whether value1 and value2 represent the same instant.
  • areUtcEqualBy: Compare two UTC ISO datetime strings for equality at a given unit.
  • isAfterUtc: Return whether value1 represents an instant strictly after value2.
  • isBeforeUtc: Return whether value1 represents an instant strictly before value2.

Last updated:

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.