Skip to content

iot/convert

  • Device and sensor time on industrial networks: Precision Time Protocol timestamps, which count TAI, and the UTC offset a grandmaster announces.
  • ptpToUtc: Converts a PTP (IEEE 1588) timestamp to a UTC instant string ending in Z.
  • utcToPtp: Converts a UTC instant to the PTP (IEEE 1588) timestamp a grandmaster announcing currentUtcOffset would send.

Last updated:

© 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.