UNIX timestamp for Plato's Republic, assuming 01 January 392 B. C. at 12:00 am is -19374092131393201937362373274. 🤣

Reply to this note

Please Login to reply.

Discussion

over 19 digits is more than 64 bits

but, interesting point, the value is a JSON integer, i don't think it allows over 64 bit unsigned anyhow

bigger numbers are generally treated using generalised "big integer" math that uses byte arrays and arbitrary lengths, and to encode them in JSON you will usually then need to put them in a string, that's also why they are strings for npubs and event ids

also, -382-01-01T12:00 is shorter