Unix Timestamp से Date
हमारे बारे में
Unix time 1970-01-01 00:00:00 UTC — epoch — से seconds (या milliseconds) गिनता है, leap seconds को ignore करते हुए, इसीलिए यह हर language में साफ़ बदलता है। दस-digit बनाम तेरह-digit सवाल (seconds बनाम milliseconds) classic integration bug है: JavaScript का Date milliseconds चाहता है, PHP का time() seconds देता है, और factor-of-1000 error आपकी date को 1970 या साल 56000 में पहुँचा देता है। यह converter length से अंदाज़ा लगाता है (10 digits = seconds, 13 = milliseconds) और output में अपनी interpretation बताता है, ताकि अंदाज़ा हमेशा checkable हो। इस site का companion Timestamp Converter calendars के साथ दोनों तरफ़ जाता है; यह page quick one-field lookup है।
अक्सर पूछे जाने वाले सवाल
मैं कैसे जानूँ कि मेरा timestamp seconds है या milliseconds?
लंबाई: current timestamps seconds में 10 digits हैं, milliseconds में 13। Output बताता है कि कौन सा माना गया।
2038 problem क्या है?
32-bit signed Unix time 19 January 2038 को overflow हो जाता है। 64-bit systems (और यह converter, JavaScript Dates के ज़रिए) प्रभावित नहीं होते।