prompt> use javascript to convert a unix timestamp to a date in 'YYYY-MM-DD' format using Temporal
answer> Temporal.Instant.fromEpochSeconds(timestamp).toPlainDate()
Trust but verify?
I mean... Yes? That looks correct to me°, but it's been a minute since I worked with Temporal, so I'd run it myself and examine the output before I cut and paste.
Or have I missed your point?
---
°Missing a TZ assertion, but I don't remember what happens by default. Zulu time? I'd hope so, but that reinforces my point.