{"category":"calc","endpoint":"https://setget.net/v1/tools/unix-timestamp","examples":[{"input":{"value":"1700000000"},"output":{"direction":"to_date","local":null,"milliseconds":1700000000000,"seconds":1700000000,"unit":"seconds","utc":"2023-11-14T22:13:20Z","weekday":"Tuesday"}},{"input":{"value":"2026-03-05T14:30:00+01:00"},"output":{"direction":"to_timestamp","local":null,"milliseconds":1772717400000,"seconds":1772717400,"unit":null,"utc":"2026-03-05T13:30:00Z","weekday":"Thursday"},"title":"A date to a timestamp"}],"input_schema":{"additionalProperties":false,"properties":{"unit":{"default":"auto","description":"Unit of a numeric timestamp. \"auto\" judges by its size.","enum":["auto","seconds","milliseconds","microseconds","nanoseconds"],"type":"string"},"value":{"description":"A Unix timestamp, or a date and time to turn into one.","examples":["1700000000"],"maxLength":40,"type":"string"},"zone":{"description":"Time zone for the \"local\" output, and for reading a date that has no offset.","examples":["Europe/Oslo"],"type":"string"}},"required":["value"],"type":"object"},"keywords":["unix timestamp","epoch converter","epoch time","timestamp to date","date to timestamp","unix time","milliseconds to date","posix time"],"related":["time-now","timezone-convert","date-parse"],"slug":"unix-timestamp","summary":"Convert a Unix timestamp to a date, or a date to a Unix timestamp, in seconds and milliseconds.","tier":"inline","title":"Unix timestamp converter","url":"https://setget.net/tools/unix-timestamp"}
