unixMilliseconds
const unixMilliseconds: RegExp = /^\d{13}$/;RegExp matching a Unix timestamp in milliseconds: exactly 13 digits.
Examples
Section titled “Examples”import { unixMilliseconds } from "@northguild/gmt";unixMilliseconds.test("1710511800123") // trueunixMilliseconds.test("0000000000000") // true (epoch)unixMilliseconds.test("999999999999") // false (unpadded, 12 digits)unixMilliseconds.test("17105118001") // false (11 digits)Source
Section titled “Source”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.