UNIX කාල සටහන් පරිවර්තකය
UNIX යුගයේ කාල මුද්රාව සහ මිනිස් දිනය හා වේලාව අතර පරිවර්තනය කරන්න.
ඔබ ටයිප් ලෙස ප්රතිඵල යාවත්කාලීන.
මෙම කැල්ක්යුලේටරය ගැන
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.
නිතර අසන ප්රශ්න
යුනික්ස් කාල සටහන තත්පර හෝ මිලියන තත්පර වලින්ද?
සම්භාව්ය යුනික්ස් කාලය මුද්රණය 1970 යුගයේ සිට තත්පර වන නමුත් ජාවාස්ක් රයිට් සහ බොහෝ APIs මිලියන තත්පර භාවිතා (1000 × විශාල). අගය කියවීමට ඕනෑම ආකාරයකින් උසස් විකල්ප යටතේ ඒකකය සකසන්න.
කාලය ස්ටැම්ප් නියෝජනය කරන්නේ කුමන වේලා කලාපයද?
යුනික්ස් ටයිම්ස්ටැම්ප් කිසිදු වේලා කලාපයක් ඇත - එය සම්පූර්ණ ක්ෂණික වේ. මෙවලම UTC ලෙස සහ ඔබේ බ්රවුසරයේ දේශීය කාලය දෙදෙනාම ක්ෂණික බව පෙන්වයි, රේඛා දෙකක් ඔබේ UTC offset වෙනස් විය හැකි නිසා.
මම කාලය මුද්දර තත්පර හෝ මිලියන තත්පර නම් කියන්න පුළුවන් කොහොමද?
අංක ගණන්: වර්තමාන තත්පර කාලය ස්ටැම්ප් ගැන 10 අංක දිගු වන අතර, මිලියන තත්පර අනුවාදය ගැන 13 අංක වේ. විකේතනය දිනය 1970 අසල ගොඩබිම් නම්, ඔබ බොහෝ විට තත්පර ලෙස මිලියන තත්පර අගය කියවන්න.
යුනික්ස් යුගය යනු කුමක්ද?
යුග යුනික්ස් වේලාවේ ශුන්ය ස්ථානය: 1970 ජනවාරි 1 වන දින මධ්යම රාත්රියේ UTC. සෑම කාලයක් සටහන් තත්පර ගණනක් (හෝ මිලියන තත්පර) එම මොහොතේ සිට ගණනය වේ.
ඒකට පුළුවන්ද දිනය නැවත කාල මුද්රාවකට පරිවර්තනය කරන්න?
ඔව්. දිනය → timestamp කිරීමට දිශාව මාරු, දිනය හා දේශීය වේලාව ඇතුලත්, එය යුගයේ අගය ආපසු, ඔබ ඕනෑම දිශාවකට වට සංචාරය කළ හැකි නිසා.
2038 වසරේ ගැටලුව මොකක්ද?
Systems that store Unix time in a signed 32-bit integer overflow on 19 January 2038, after which the count can no longer increase. Modern 64-bit timestamps avoid this, and this converter handles dates well beyond 2038.
API - කේතය සිට මෙම කැල්ක්යුලේටරය භාවිතා
කිසිදු යතුරක් අවශ්ය - නිදහස් JSON අවසන් ස්ථානයක් ලෙස මෙම ගණනය කිරීම් ඇමතුම්. විමසුම් පරාමිතීන් හෝ JSON ලෙස පහත ක්ෂේත්ර අගයන් යවන්න. ඔබ අතහැර දමන ඕනෑම දෙයක් මෙම පිටුව සමග පෙර පිරවීම වන එම පෙරනිමි භාවිතා; නොදන්නා පරාමිතියක් 400 වේ, නිහඬ ශුන්ය කිසි විටෙකත්. සම්පූර්ණ 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);
ප්රතිඵල සාමාන්ය මග පෙන්වීම සඳහා පමණක් ඇස්තමේන්තු, මූල්ය, වෛද්ය හෝ බදු උපදෙස් නොවේ.