{"id":"iso-to-epoch","version":"1.0.0","description":"Convert a canonical RFC 3339 UTC timestamp to an exact integer Unix epoch count in the requested unit.","supported_operations":["ISO date to unix timestamp","RFC 3339 UTC to epoch seconds","convert UTC time to milliseconds","timestamp string to epoch nanoseconds","get microseconds since 1970","turn ISO timestamp into integer"],"unsupported_operations":["non-UTC offsets","natural-language dates","leap-second timestamps"],"semantics":["Accept canonical UTC form YYYY-MM-DDTHH:mm:ss[.fraction]Z only, with 1 to 9 fraction digits.","Apply the POSIX rule that every day has exactly 86400 seconds; reject RFC 3339 leap-second spelling :60.","Require exact divisibility at the requested unit, so no rounding or truncation occurs."],"limits":{"max_input_bytes":61},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["iso","unit"],"properties":{"iso":{"type":"string","minLength":20,"maxLength":30},"unit":{"type":"string","enum":["seconds","milliseconds","microseconds","nanoseconds"]}}},"output_schema":{"type":"object","additionalProperties":false,"required":["epoch","unit","standard_version"],"properties":{"epoch":{"type":"string","minLength":1,"maxLength":21,"pattern":"^-?[0-9]+$"},"unit":{"type":"string","enum":["seconds","milliseconds","microseconds","nanoseconds"]},"standard_version":{"type":"string","const":"POSIX.1-2024 4.19; RFC 3339"}}},"examples":[{"input":{"iso":"1970-01-01T00:00:00Z","unit":"seconds"},"output":{"epoch":"0","unit":"seconds","standard_version":"POSIX.1-2024 4.19; RFC 3339"}},{"input":{"iso":"1970-01-01T00:00:00.001Z","unit":"milliseconds"},"output":{"epoch":"1","unit":"milliseconds","standard_version":"POSIX.1-2024 4.19; RFC 3339"}}],"execute_url":"/v1/tools/iso-to-epoch/versions/1.0.0/execute"}