Unix အချိန်စင် ပြောင်းပြန်
Unix ခေတ်ကာလ အမှတ်အသားနှင့် လူသားနေ့ရက်နှင့်အချိန်အကြား ပြောင်းပါ
သင်ရိုက်ထည့်သလိုရလဒ်များကို update လုပ်ပါ
ဤဂဏန်းတွက်စက်အကြောင်း
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.
မေးလေ့ရှိသောမေးခွန်းများ
Unix အချိန်အမှတ်သည် စက္ကန့်များ သို့မဟုတ် မီလီစက္ကန့်များ ဖြင့်ဖြစ်သည်
အဆိုပါရိုးရာ Unix ကိုအချိန်စင်ကြယ်သော 1970 ခေတ်ကတည်းကစက္ကန့်အတွင်းဖြစ်ပါတယ်, ဒါပေမယ့် JavaScript ကိုနှင့်များစွာသော API များ milliseconds ကိုအသုံးပြု (1000×ကြီးမားတဲ့) ။ တစ်ခုတန်ဖိုးကိုဖတ်ဖို့အဆင့်မြင့် options များအောက်တွင်ယူနစ်ကို setting မည်သည့်နည်းလမ်းမှ.
အချိန်အမှတ်က ဘယ်အချိန်ဇုန်ကို ကိုယ်စားပြုသလဲ
A Unix timestamp has no time zone — it is an absolute instant. The tool shows that instant both as UTC and in your browser’s local time, which is why the two lines can differ by your UTC offset.
အချိန်တံဆိပ်သည်စက္ကန့်များသို့မဟုတ်မီလီစက္ကန့်များဖြစ်ပါကကျွန်ုပ်မည်သို့ပြောနိုင်မည်နည်း။
digits count: တစ်လက်ရှိနေ့စက္ကန့်အချိန်စင်ကြယ်သောအကြောင်းကိုဖြစ်ပါတယ် 10 digits long, မီလီစက္ကန့်ဗားရှင်းအကြောင်းကိုဖြစ်ပါတယ် 13 digits. တစ် decoded date near lands if 1970, you probably readamillisecond value as seconds.
Unix ခေတ်ကာလကဘာလဲ။
အဆိုပါခေတ်ကာလ Unix အချိန်၏ Zero Point ဖြစ်ပါသည်: 1 ဇန်နဝါရီလ 1970 အပေါ်ညနေ UTC. အားလုံးအချိန်စင်ကြယ်သောကြိမ်အရေအတွက် (သို့မဟုတ် milliseconds) သောအချိန်မှတဆင့်စာရင်းပြုစုခြင်းဖြစ်ပါသည်.
အချိန်စနစ်ကို နေ့စွဲကို ပြန်ပြောင်းပေးနိုင်မလား။
ဟုတ်ကဲ့. နေ့စွဲ → timestamp ကိုညွှန်ကြားချက်ကို Switch, နေ့စွဲနှင့်ဒေသခံအချိန်ကိုဝင်ရောက်, နှင့်၎င်းသည်ခေတ်သစ်တန်ဖိုးကိုပြန်ပေး, သငျသညျနှစ်ဦးစလုံးလမ်းကြောင်းတွင် round-ခရီးသွားနိုင်ပါတယ်ဒါကြောင့်.
2038 ပြဿနာက ဘာလဲ?
Unix အချိန်ကို 32-bit လုံးဝအရေအတွက် overflow 19 ဇန်နဝါရီလ 2038 အပေါ်လက်မှတ်ရေးထိုးထားသည့်စနစ်များသိမ်းဆည်းခြင်း, စာရင်းအင်းတိုးပွားလာနိုင်ခြင်းမရှိတော့ပြီးနောက်. ခေတ်မီ 64-bit timestamps ဤရှောင်ရှား, နှင့်ဤ converter ကို 2038 ကျော်နေ့စွဲများကောင်းစွာကိုင်တွယ်.
API ကို — code ကိုမှဤဂဏန်းတွက်စက်ကိုအသုံးပြု
အခမဲ့ JSON endpoint အဖြစ်ဤဂဏန်းတွက်စက်ကိုခေါ် - လိုအပ်သော key ကိုမရှိ. query parameters တွေကိုသို့မဟုတ် JSON အဖြစ်အောက်ပါ Field Values ကိုပို့. သင်ပယ်ချဘာမှတူညီသော default ကိုအသုံးပြုသည်ဤစာမျက်နှာနှင့်အတူ pre-filled ဖြစ်ပါတယ်။ အမည်မသိ parameter ကိုတစ်ခုဖြစ်ပါသည် 400, တစ်ဦးတိတ်ဆိတ်သော Zero ကိုမဆို. ပြည့်စုံသော API ကိုစာရွက်စာတမ်းများကိုဖတ်ပါ →
အဆုံးသတ်ချက်
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);
ရလဒ်များသာယေဘုယျလမ်းညွှန်မှုများအတွက်ခန့်မှန်းချက်ဖြစ်ကြသည်, မငွေကြေး, ဆေးဘက်ဆိုင်ရာသို့မဟုတ်အခွန်အကြံပေးချက်.