Mpanova TimeStamp Unix
Manova ny daty sy ny ora eo amin'ny fotoanan'ny Unix sy ny daty sy ny ora omen'ny olona.
Manova ny valin'ny fanoratanao.
Momba ity kapila ity
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.
Fanontaniana matetika
Ny fotoana Unix dia segondra sa milisegaondra?
Ny segondra no ampiasaina amin'ny famaritana ny fotoana mahazatra amin'ny Unix hatramin'ny taona 1970, saingy milisegaondra (1000 heny lehibe kokoa) no ampiasaina amin'ny JavaScript sy ny API maro. Ampidiro eo ambanin'ny safidy manokan'ny mpampiasa ny isa mba hamaky sanda amin'ny fomba iray na amin'ny fomba hafa.
Inona no fari-potoana aseho amin'ilay marika fotoana?
Tsy manana fari-potoana ny marika fotoana Unix - fotoana tena izy io. Mampiseho izany fotoana izany amin'ny UTC sy amin'ny ora an-toerana amin'ny mpitety anao ny fitaovana, ka noho izany dia mety miova arakaraka ny fiovan'ny UTC ny andalana roa.
Ahoana no ahafahako milaza raha segondra na milisegaondra ny fotoana?
Isao ireo isa: ny mari-potoanan'ny segondra amin'izao fotoana izao dia manana 10 isa eo ho eo, raha toa kosa ny milisegaondra kosa dia manana 13 isa eo ho eo. Raha toa ka eo akaikin'ny 1970 ny daty voafafa, dia mety hamaky sanda milisegaondra amin'ny segondra ianao.
Inona no atao hoe Unix?
Ny fotoana dia ny fotoana aotra amin'ny Unix: ny misasak'alina UTC tamin'ny 1 Janoary 1970. Ny fotoana tsirairay dia ny isan'ny segondra (na milisegaondra) voaisa nanomboka tamin'izany fotoana izany.
Afaka manova daty ho lasa fotoana ve izy io?
Eny. Ovay ny fironana ho amin'ny Daty → Famaritana ny fotoana, ampidiro ny daty sy ny ora eo an-toerana, ary omeo ny sanda epoch izy io, ka afaka mandeha miverina amin'ny lafiny roa ianao.
Inona no olana amin'ny taona 2038?
Ny rafitra mitahiry ny ora Unix anatin'ny isa feno 32-bit mihoatry ny fetra amin'ny 19 Janoary 2038, izay tsy mety mitombo intsony aorian'izay. Tsy manaiky izany ny fanamarinana fotoana 64-bit ankehitriny, ary ity mpanova ity dia mifehy daty lavitra noho ny 2038.
API — mampiasa io milina fanisana io avy amin'ny rindran'asa
Antsoy ho toy ny farany JSON malalaka ity milina fanisana ity - tsy mila famaha. Mandefa ireo sanda eo amin'ny sehatr'asa etsy ambany ho toy ny mpizaratry ny fanontaniana na JSON. Ny zavatra tsy voalaza dia mampiasa ny sanda tsotra efa nameno ity pejy ity; 400 ny sanda tsy fantatra, tsy aotra tsy misy feo. Vakio ny tahirin-kevitra API feno →
Endpoint
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);
Ny voka-pikarohana dia natao ho an'ny torohevitra ankapobeny ihany, tsy torohevitra ara-bola, ara-pitsaboana na ara-bola.