Unix Timestamp Converter

Kusintha pakati pa Unix epoch timestamp ndi tsiku ndi nthawi ya munthu.

Local 24-hour time used when converting a date to a timestamp.
Timestamp ya Unix —
Onani nthawi —
Local date & time —
ISO 8601 (UTC) —
tsiku la sabata —

Zithunzizi zimasintha monga momwe mumalemba.

Kodi izi calculator anakupatsani yankho labwino?

Zachidule

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.

Mafunso ofunsidwa nthawi zambiri

Ndi Unix timestamp m'masekondi kapena milliseconds?

Unix classical timestamp ndi mphindi kuyambira 1970 epoch, koma JavaScript ndi ambiri APIs kugwiritsa ntchito milliseconds (1000 × lalikulu). Set the unit under advanced options to read a value either way.

Kodi nthawi ya nthawi ndi iti yomwe timestamp imaimira?

Unix timestamp alibe nthawi yozungulira - ndi mwamsanga wonse. chida chikusonyeza kuti mwamsanga onse monga UTC ndi mu nthawi ya m'dera la browser yanu, amene ndi chifukwa chake mafano awiri angasiyana ndi UTC offset.

Kodi ndingatani kuti ndidziwe ngati timestamp ndi m'masekondi kapena ma milliseconds?

Kuwerengera digits: m'masiku ano masekondi timestamp ndi pafupifupi digits 10 m'litali, pamene millisecond mtundu ndi pafupifupi digits 13. Ngati decoded tsiku limati zikafika 1970, inu mwina kuwerenga milisecond mfundo monga masekondi.

Kodi ndi Unix epoch?

Epoch ndi zero point ya Unix nthawi: m'mawa UTC pa 1 January 1970. Nthawi zonse ndi ochepa masekondi (kapena milliseconds) anawerengedwa kuchokera pamene nthawi.

Kodi angasinthe tsiku m'mbuyomo m'malo mwa timestamp?

Yai. Sinthani njira kuti Taonani → timestamp, kulowa tsiku ndi nthawi ya m'deralo, ndipo imabwerera epoch mfundo, kotero inu mukhoza round-trip m'njira iliyonse.

Kodi ndi chiyani vuto la chaka cha 2038?

Makompyuta omwe amasunga nthawi ya Unix m'njira yokhala ndi 32-bit integer overflow pa 19 Januware 2038, pambuyo pake mitengo siyingathe kuwonjezeka. Makompyuta amakono a 64-bit timestamp amapewa izi, ndipo wosinthayo amasamalira masiku opitilira 2038.

❤️ Ubwenzi Calculator.Free? Share it

𝕏  X Facebook Reddit
API — kugwiritsa ntchito izi calculator kuchokera code

Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Chomweko chilichonse chimene mumasiya chimagwiritsa ntchito mfundo yoyamba yomweyi yomwe tsambali limagwiritsa ntchito; mfundo yosadziwika ndi 400, siyiyenera kukhala zero yosadziwika. Onani zonse API docs →

Chithunzi

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-08"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/unix-timestamp/?" + new URLSearchParams({
    "mode": "to_date",
    "unix": "1700000000",
    "date": "2026-09-08"
  }));
const data = await r.json();
console.log(data.results);

Zimenezi ndi zowerengera zokhudzana ndi malangizo amtundu uliwonse, si zokhudzana ndi ndalama, zamoyo kapena zokhudzana ndi ndalama.