મફત ટાઇમસ્ટેમ્પ કન્વર્ટર

Unix ટાઇમસ્ટેમ્પને વાંચી શકાય તેવી તારીખોમાં અને ઊલટું કન્વર્ટ કરો. UTC અને લોકલ ટાઇમ, સેકન્ડ્સ અને મિલિસેકન્ડ્સ સપોર્ટ કરે છે.

એક વાર લોડ થયા પછી ઑફલાઇન કામ કરે છે
હમણાં:
એકમ:
એપોક ક્વિક રેફરન્સ

આ કેવી રીતે કાર્ય કરે છે

બધું conversion JavaScript ના બિલ્ટ-ઇન Date object અને Intl suite (Intl.RelativeTimeFormat, Intl.DateTimeFormat, Intl.supportedValuesOf) વાપરીને સીધું બ્રાઉઝરમાં ચાલે છે — કોઈ થર્ડ-પાર્ટી લાઇબ્રેરી નહીં, કોઈ સર્વર raund-trip નહીં. તમારા મશીનમાંથી કંઈ પણ બહાર જતું નથી: numbers સ્થાનિક રહે છે.

  1. 1
    Unit detection અને normalization
    તમે timestamp પેસ્ટ કરો ત્યારે, ટૂલ unit આપોઆપ અનુમાન કરવા તેના digits ગણે છે: 10 digits એટલે Unix seconds, 13 milliseconds, 16 microseconds, 19 nanoseconds. હાથે લખેલો digit-count heuristic mismatch flag કરે છે અને one-click unit switch આપે છે, 13-digit millisecond મૂલ્યને year-55881 seconds મૂલ્ય તરીકે ગણવા જેવી silent ભૂલો ટાળીને.
  2. 2
    JavaScript Date દ્વારા Date construction
    Raw number milliseconds માં scale થાય છે અને new Date(ms) ને પસાર થાય છે. ત્યાંથી બિલ્ટ-ઇન Date methods (getFullYear, getUTCHours, toISOString, વગેરે) local time, UTC time, અને ISO 8601 output બનાવે છે — કોઈ parsing library સામેલ નથી.
  3. 3
    Intl.RelativeTimeFormat દ્વારા Locale-aware relative time
    Live ticker દર સેકન્ડે ફાયર થાય છે અને page locale સાથે seeded Intl.RelativeTimeFormat વાપરીને relative label (દા.ત. '3 days ago', 'in 2 hours') ફરીથી ગણે છે. આ ટૅબ ખુલ્લો રહે ત્યાં સુધી relative display ને સચોટ રાખે છે, અને દરેક supported language માં કોઈ વધારાની translation strings વગર grammatically સાચું output બનાવે છે.
  4. 4
    Intl.DateTimeFormat દ્વારા Timezone display
    Pinned IANA timezones (દા.ત., America/New_York, Asia/Tokyo) timeZone option સાથે Intl.DateTimeFormat વડે ફોર્મેટ થાય છે. બ્રાઉઝર-supported zone names ની પૂરી list Intl.supportedValuesOf('timeZone') માંથી આવે છે. તમારા pinned zones localStorage માં sessions વચ્ચે persist કરે છે.

સંબંધિત સાધનો

વારંવાર પૂછાતા પ્રશ્નો