محوّل الطابع الزمني Unix
حوّل ثواني Unix أو أجزاء الثانية إلى UTC، أو تاريخ ISO بمنطقة زمنية صريحة إلى طابع Unix زمني.
المدخلات
تلميح: اضغط Ctrl + Enter للتشغيل
الإعدادات المحفوظة
المساعدة المفصلة أدناه متاحة بالإنجليزية فقط حاليًا.
حول هذه الأداة
Unix time counts the seconds since 00:00:00 UTC on January 1, 1970. Databases, logs, APIs and JWT tokens store dates this way, and JavaScript uses milliseconds instead of seconds. This converter turns a timestamp in seconds or milliseconds into an ISO 8601 UTC date, or turns an ISO date with an explicit time zone back into a timestamp.
For dates you type in, the time zone must be explicit (Z for UTC or an offset like −06:00), so the result is never silently based on your computer’s location.
طريقة الاستخدام
- Choose seconds, milliseconds, or date (ISO to timestamp).
- Enter the timestamp, or an ISO date such as 2026-10-19T09:00:00-06:00.
- Run the conversion.
- Read the UTC date (ending in Z) or the timestamp in seconds.
كيف يعمل الحساب
Seconds are multiplied by 1,000 and passed to the JavaScript Date object; the result is printed with toISOString in UTC. In date mode, the ISO string must contain Z or an offset, and the result is the time in seconds since the epoch.
Unix epoch = 1970-01-01T00:00:00Zمثال تطبيقي
A log line shows 1792400000. In seconds mode this is 2026-10-19T08:53:20.000Z. The same moment in milliseconds is 1792400000000. Converting 2026-10-19T09:00:00-06:00 (9 a.m. in Calgary) gives 1,792,422,000 seconds, which is 15:00 UTC.
مثال على الإدخال والنتيجة
0 = 1970-01-01T00:00:00.000Z
القيود
- Leap seconds are not represented, as in Unix time itself.
- ISO input must include a time zone.
- Dates outside roughly ±270,000 years are not supported by JavaScript.
آخر تحديث:
الأسئلة الشائعة
How do I know if a timestamp is in seconds or milliseconds?
Current timestamps in seconds have 10 digits; in milliseconds they have 13.
Why is the result in UTC?
Unix time is defined in UTC. Convert the UTC result to local time with the UTC time converter.
What is the 2038 problem?
Systems storing seconds in a signed 32-bit integer overflow on January 19, 2038. This converter uses larger numbers and is not affected.
استكشاف الأخطاء وإصلاحها
The date is in 1970.
You entered a millisecond value in seconds mode or vice versa. Check the number of digits.
The ISO date is rejected.
Add Z or an offset like +05:30 at the end.
The time is several hours off.
The output is UTC. Convert it to your local time zone.
الخصوصية & مجاني
هل تُخزَّن مدخلاتي؟
تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.
هل هذه الأداة مجانية؟
نعم. لا يلزم تسجيل أو دفع.
انظر أيضًا
خطوات تالية مفيدة
حاسبة الفرق بين تاريخين
احسب الأيام التقويمية المنقضية وما يعادلها من أسابيع بين تاريخين، دون احتساب تاريخ النهاية.
التاريخ والوقتحاسبة العمر
احسب السنوات والأشهر والأيام الكاملة في تاريخ مرجعي. ذكرى نهاية الشهر تُحتسب في آخر يوم صالح.
التاريخ والوقتإضافة أيام أو طرحها
انقل تاريخًا إلى الأمام أو الخلف بعدد صحيح من الأيام.
التاريخ والوقت