Unix Timestamp Converter
Gcwalisa phakathi kwe UNIX epoch timestamp nexesha nomhla womntu.
Iinketho ze projekti
Malunga nale Calculator
A Unix timestamp is the number of seconds since 1 January 1970 UTC (the "epoch"). This converter turns an epoch timestamp into a readable UTC and local date, or takes a date and time and returns its epoch value. It handles both seconds and milliseconds, shows the ISO 8601 form, and names the weekday. A staple for developers reading logs, databases and API responses.
Pick a direction: give it an epoch number and it shows that exact instant both in UTC and in your browser’s local time zone (the two lines differ by your UTC offset), plus the ISO 8601 string and the weekday. Give it a date and a local time instead and it returns the matching epoch value. Because seconds-based timestamps and the millisecond timestamps used by JavaScript differ by a factor of 1,000, a unit switch lets you read or produce either.
For example, the timestamp 1700000000 is Tuesday 14 November 2023 22:13:20 UTC; the ten-digit length is a clue it is in seconds, whereas a thirteen-digit value like 1700000000000 is the same instant in milliseconds. Developers use this to decode a created_at column, sanity-check an API response, set an expiry, or convert a log line’s epoch stamp into a human date.
Imibuzo ebuza rhoqo
Ingaba i-Unix timestamp ikwimizuzu okanye kwimizuzu emininzi?
I-Unix eqhelekileyo yexesha le-timestamp yimizuzwana ukusukela kwixesha le-1970, kodwa i-JavaScript ne-APIs ezininzi zisebenzisa ii-milliseconds (1000× ezikhulu). Misela iyunithi phantsi kokhetho oluphambili ukufunda ixabiso nakweyiphi na indlela.
Ixesha eliphi lendawo ejikelezayo elibonakalisa i-timestamp?
I Unix ixesha lomda ayikho ixesha lommandla - lixesha elipheleleyo elikhawulezayo. Isixhobo sibonisa eli xesha likhawulezayo zombini njenge UTC nexesha lobulali lomkhangeli zincwadi wakho, le nto ibangela ukuba imigca emibini ingahluka nge UTC yakho ejikelezayo.
Ndiyazi njani ukuba umqondiso wexesha ukwimizuzu okanye kwimizuzu emininzi?
Bala amanani: imihla yemihla ngemihla yexesha limalunga nenani eli-10 elide, ngelixa uguqulelo lwe-millisecond limalunga nenani eli-13. Ukuba umhla okhowudiweyo uwela phezulu 1970, ungafunda ixabiso le-millisecond njengemizuzu.
Yintoni i Unix epoch?
The epoch is the zero point of Unix time: midnight UTC on 1 January 1970. Every timestamp is just the number of seconds (or milliseconds) counted from that instant.
Ingaba iguqula umhla kwakhona kwixesha lexesha?
Ewe. Tshintsha umgca wokuba ngumhla → umgca wexesha, ngenisa umhla nexesha lasekhaya, kwaye ibuyisela ixabiso lexesha, ukuze ungajikeleza-hamba ngapha nangapha.
Yintoni ingxaki yonyaka ka-2038?
Iinkqubo ezigcina ixesha le Unix kwi-32-bit integer overflow ephawulwe ngomhla we-19 kaJanuwari 2038, emva koko ubalo alukwazi ukunyuka. Ii-64-bit timestamps eziphambili zithintela oku, kwaye lo mguquli uphatha umhla ongaphezulu ko-2038.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →
Incopho yesiphelo
GET https://calculator.free/api/v1/unix-timestamp/
curl
curl "https://calculator.free/api/v1/unix-timestamp/?mode=to_date&unix=1700000000&date=2026-09-09"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/unix-timestamp/?" + new URLSearchParams({
"mode": "to_date",
"unix": "1700000000",
"date": "2026-09-09"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.