Time zone difference calculator

Time zone arithmetic is addition modulo 24, plus a date rollover when it wraps.

hours
hours
Time in the first zone
9:30:00
= Exact Time zone difference
Time in the second zone
20:00:00
Second zone is ahead by
10.50 hours
First zone date shift
0
Second zone date shift
0
They are on different dates
0
Show the working
  1. UTC hour = 14
  2. Minute = 30
  3. First zone offset = -5
  4. Second zone offset = 5.5
  5. utc_decimal = 14 + 30/60 = 14.5
  6. a_decimal = mod(14.5 + -5, 24) = 9.5
  7. b_decimal = mod(14.5 + 5.5, 24) = 20
  8. Time in the first zone = 9.5 * 3600 = 34 200
  9. Time in the second zone = 20 * 3600 = 72 000
  10. Second zone is ahead by = 5.5 - -5 = 10.5
  11. First zone date shift = floor((14.5 + -5)/24) = 0
  12. Second zone date shift = floor((14.5 + 5.5)/24) = 0
  13. They are on different dates = 0 != 0 ? 1 : 0 = 0

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • local time = UTC + offset, modulo 24

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library