[{"data":1,"prerenderedAt":190},["ShallowReactive",2],{"page:/timestamp-to-date/":3},{"id":4,"title":5,"body":6,"description":166,"extension":167,"eyebrow":168,"faq":169,"locale":179,"meta":180,"navigation":181,"pageType":182,"path":183,"related":184,"seo":185,"stem":188,"__hash__":189},"pages/en/timestamp-to-date.md","Timestamp to date",{"type":7,"value":8,"toc":156},"minimark",[9,14,34,38,53,57,74,78,81,85,143,147],[10,11,13],"h2",{"id":12},"convert-an-epoch-value-safely","Convert an epoch value safely",[15,16,17,18,22,23,22,26,29,30,33],"p",{},"Paste a signed whole number, check the detected unit, and choose the time zone used for the human-readable result. Values such as ",[19,20,21],"code",{},"1700000000",", ",[19,24,25],{},"1700000000000",[19,27,28],{},"1700000000000000",", and ",[19,31,32],{},"1700000000000000000"," represent the same instant in four different units.",[10,35,37],{"id":36},"outputs-explained","Outputs explained",[15,39,40,44,45,48,49,52],{},[41,42,43],"strong",{},"UTC"," is the universal reference. ",[41,46,47],{},"Local time"," uses the selected IANA zone and its daylight-saving rules. ",[41,50,51],{},"ISO 8601"," is a stable machine-readable representation. Milliseconds are included so you can compare the converted value with JavaScript and many API payloads.",[10,54,56],{"id":55},"common-mistakes","Common mistakes",[58,59,60,64,71],"ul",{},[61,62,63],"li",{},"Treating a 13-digit millisecond value as seconds produces a date far outside the normal range.",[61,65,66,67,70],{},"Appending ",[19,68,69],{},"Z"," to a local date changes its meaning by declaring it UTC.",[61,72,73],{},"A timestamp represents an instant; it does not remember the place where it was created.",[10,75,77],{"id":76},"how-to-use-this-tool","How to use this tool",[15,79,80],{},"Paste the original integer without adding separators. Select the documented unit or inspect the automatic suggestion, choose the display zone, and press Convert. Changing the input, unit or zone clears the previous result so it cannot be copied accidentally.",[10,82,84],{"id":83},"worked-input-and-output","Worked input and output",[86,87,88,101],"table",{},[89,90,91],"thead",{},[92,93,94,98],"tr",{},[95,96,97],"th",{},"Input or setting",[95,99,100],{},"Expected result",[102,103,104,118,130],"tbody",{},[92,105,106,113],{},[107,108,109,112],"td",{},[19,110,111],{},"0"," · s",[107,114,115],{},[19,116,117],{},"1970-01-01T00:00:00.000Z",[92,119,120,125],{},[107,121,122,124],{},[19,123,25],{}," · ms",[107,126,127],{},[19,128,129],{},"2023-11-14T22:13:20.000Z",[92,131,132,138],{},[107,133,134,137],{},[19,135,136],{},"-1"," · ns",[107,139,140],{},[19,141,142],{},"1969-12-31T23:59:59.999Z",[10,144,146],{"id":145},"checks-before-using-the-result","Checks before using the result",[15,148,149,150,155],{},"UTC and ISO show the same instant in different formats. Microsecond and nanosecond rows preserve the exact integer; calendar dates use millisecond resolution. If a precision notice appears, keep the finer integer for a lossless export. An invalid integer and an out-of-range date have different errors. Check ",[151,152,154],"a",{"href":153},"/guides/seconds-vs-milliseconds/","unit differences"," before correcting the source value.",{"title":157,"searchDepth":158,"depth":158,"links":159},"",2,[160,161,162,163,164,165],{"id":12,"depth":158,"text":13},{"id":36,"depth":158,"text":37},{"id":55,"depth":158,"text":56},{"id":76,"depth":158,"text":77},{"id":83,"depth":158,"text":84},{"id":145,"depth":158,"text":146},"Convert Unix seconds, milliseconds, microseconds or nanoseconds into UTC, local time, ISO 8601 and another time zone.","md","Epoch converter / 01",[170,173,176],{"question":171,"answer":172},"How does automatic unit detection work?","It uses digit length as a starting hint for contemporary dates and always shows the selected unit so you can override it.",{"question":174,"answer":175},"Does a Unix timestamp contain a time zone?","No. It identifies an instant. A time zone is applied only when displaying that instant as a date and clock time.",{"question":177,"answer":178},"Can I convert dates before 1970?","Yes. Negative timestamps represent instants before the Unix epoch, as long as the value remains inside the browser's supported date range.","en",{},true,"tool","/en/timestamp-to-date",null,{"title":186,"description":187},"Timestamp to Date Converter — Unix Epoch to UTC & Local Time","Convert Unix timestamps in seconds, milliseconds, microseconds or nanoseconds to readable dates, UTC and ISO 8601.","en/timestamp-to-date","C0_jTmPknumLQuBFK_p5iqZnvUsosx35pJq1KlINAyU",1792032486788]