{
  "id": "sc_e06d7f6beded443582d9cb8fb72bdfc7",
  "url": "https://speccommons.org/s/timestamp-decimal-v1",
  "schema": "https://speccommons.org/s/definition-record",
  "slug": "timestamp-decimal-v1",
  "title": "UTC seconds as decimal text",
  "summary": "Encode a whole-second timestamp as a decimal string.",
  "content": "UTC seconds as decimal text\n\n## Time rules\n\nCount whole seconds since 1970-01-01T00:00:00Z. Each day has 86,400 seconds; leap seconds are not represented.\nSupported values are integers from 0 to 253402300799 inclusive (1970 through 9999).\nThere are no fractional seconds, local-time offsets or negative values. Reject unsupported values rather than round or guess.\n\n## Representation\n\nUse a JSON string containing the integer in base 10, using digits 0-9.\nUse \"0\" for zero. Otherwise no leading zeroes, signs, whitespace or extra characters are allowed.\nExample: \"1791722096\" represents 2026-10-11T12:34:56Z.\n\n## Conformance examples\n\n| JSON value | Whole seconds since the epoch |\n| --- | ---: |\n| `\"0\"` | 0 |\n| `\"35\"` | 35 |\n| `\"36\"` | 36 |\n| `\"1791722096\"` | 1791722096 |\n| `\"253402300799\"` | 253402300799 |\n\nReject each JSON value in the following array. The array is a list of test inputs.\n\n```json\n[\n  \"\",\n  \"00\",\n  \"01\",\n  \"+1\",\n  \"-1\",\n  \"1.0\",\n  \"1e3\",\n  \" 1\",\n  \"1 \",\n  \"1\\n\",\n  \"253402300800\",\n  36,\n  true,\n  null\n]\n```\n\n## Reuse\n\nThe publisher dedicates this publication to the public domain under [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/).",
  "publisher": "pub_fe36aa0feef84fcebf76ef53dba6dab6",
  "published_at": "2026-11-12T11:34:32Z",
  "parent": null,
  "change_note": null,
  "references": []
}
