U.S.-Israel–Iran War (2026) Timer
Category: TimersU.S.–Israel–Iran War (2026) Timer
Tracking the ongoing conflict since February 28, 2026 — Operation Epic Fury / Operation Roaring LionTime Elapsed Since Event
Live counter showing duration since the selected eventConflict Status Dashboard
Key information on the U.S.–Israel–Iran WarU.S.–Israel–Iran War (2026): Information & Timeline
What Is the U.S.–Israel–Iran War (2026)?
On February 28, 2026, the United States and Israel launched a joint military operation against Iran. The U.S. designated the campaign Operation Epic Fury, while Israel codenamed it Operation Roaring Lion. The strikes targeted key officials, military commanders, nuclear facilities, missile infrastructure, and government buildings across Iran. The operation resulted in the killing of Supreme Leader Ayatollah Ali Khamenei. It was preceded by the largest U.S. military buildup in the Middle East since the 2003 invasion of Iraq. Iran retaliated with missile strikes against Israel and U.S. military bases across the Gulf region.
What Led to the 2026 War?
Key Events — February 28, 2026
People Also Ask
Important Notes
The U.S.-Israel-Iran War (2026) Timer is a live counter that measures elapsed time since five fixed events related to the 2026 conflict, starting with the joint U.S.-Israel strikes on February 28, 2026. It shows days, hours, minutes, and seconds, plus a detailed breakdown in months, weeks, days, and hours. It also displays current wall times in several zones and updates every second.
The U.S.-Israel–Iran War (2026) Timer uses the calculator's controls and timing behavior described below. Key points:
- Tracks five events whose timestamps are hard-coded in UTC inside the JavaScript.
- Calculates elapsed time by subtracting the chosen event's UTC milliseconds from the current browser time.
- Offers eleven timezone labels that change the display of current times and event dates, but never the elapsed-time math.
- Updates once per second and includes a manual refresh button that briefly highlights the output area.
- Shows "NOT YET STARTED" with zero values if the selected event date is after the current browser time.
- Provides two display modes: a simple elapsed counter and a detailed breakdown that approximates months using 30.44 days.
Jump to a section
- War start timer mechanics
- Hard-coded conflict events
- Timezone labels and clock display
- Elapsed time formula
- Month and week approximation
- Live updates and manual refresh
- Edge cases and input limits
- Worked examples from the code
- Frequently asked questions
War start timer mechanics
The U.S.-Israel–Iran War (2026) Timer follows the calculator's actual input and output path described here.
The page defines five event dates with Date.UTC. On load, the code reads the selected event and the selected timezone and calls three functions: updateLiveTime, updateElapsedTime, and updateEventInfo. A one-second interval repeats the first two so the numbers stay current.
All elapsed-time arithmetic uses the browser's current Date object and the event's UTC milliseconds. The timezone selector changes only how dates and times are displayed, not the elapsed seconds. You can switch zones while the timer runs without changing the count.
If you need a generic counter that accepts any start time, the Count Up Timer lets you enter a custom date and time. For a different conflict, see the Russia-Ukraine War Timer. The Partial Government Shutdown Timer 2026 tracks a separate U.S. budget event.
Hard-coded conflict events
The event dropdown offers five options. Each maps to a fixed UTC timestamp in the EVENT_DATES object. The table lists them exactly as the code defines them.
| Dropdown label | Event key | UTC timestamp in code | Notes |
|---|---|---|---|
| War Start (Feb 28, 2026 06:27 GMT) | war-start | 2026-02-28 06:27:00 | Start of joint U.S.-Israel strikes |
| Khamenei Killed (Feb 28, 2026 ~07:00 GMT) | khamenei-death | 2026-02-28 07:00:00 | Approximate time of the strike that killed Iran's Supreme Leader |
| Iran Retaliation Began (Feb 28, 2026 ~10:00 GMT) | iran-retaliation | 2026-02-28 10:00:00 | Iran launched missile and drone attacks on Israel and U.S. bases |
| Twelve-Day War Start (Jun 13, 2025) | twelve-day-war | 2025-06-13 03:00:00 | Start of the 2025 Israel-Iran conflict |
| Iran Protests Began (Dec 28, 2025) | iran-protests | 2025-12-28 12:00:00 | Start of anti-government protests across Iran |
The code does not validate or adjust these timestamps. Changing the dropdown simply changes which stored date the timer subtracts. You cannot enter your own date unless you edit the page source. For custom dates, use a general tool such as the Count Up Timer.
Timezone labels and clock display
The timezone selector has eleven entries: Asia/Tehran, Asia/Jerusalem, America/New_York, America/Chicago, America/Los_Angeles, UTC, Europe/London, Europe/Berlin, Asia/Dubai, Asia/Baghdad, and Asia/Karachi. The selected zone is passed to toLocaleString and toLocaleTimeString with an IANA-style timezone string. Those methods use the browser's timezone database, so the wall-clock display can reflect daylight-saving rules for the chosen zone.
The elapsed-time calculation never uses the selected zone. It always subtracts two absolute millisecond values. Switching from UTC to Tehran changes the labels and current clock times but does not alter the number of days, hours, minutes, and seconds since the event. The subtraction step does not use the selected zone.
The dashboard also shows current time in Tehran, Jerusalem, and Washington, D.C. using three fixed labels. These are hard-coded to Asia/Tehran, Asia/Jerusalem, and America/New_York, regardless of the main timezone selector. Only the live clock in the info card and the event timestamp in the dashboard respond to your zone choice.
Elapsed time formula
Inside updateElapsedTime, the code follows these steps:
- Read the current date from
new Date(). - Read the selected event's date from
EVENT_DATES. - Subtract the event's milliseconds from the current milliseconds.
- If the result is negative, display all elapsed fields as
0and show the text "NOT YET STARTED". - Otherwise, convert milliseconds to total seconds with
Math.floor(elapsed / 1000). - Compute days with
Math.floor(totalSeconds / 86400). - Compute hours with
Math.floor((totalSeconds % 86400) / 3600). - Compute minutes with
Math.floor((totalSeconds % 3600) / 60). - Compute seconds with
totalSeconds % 60. - Write the four values into the elapsed and detailed fields.
Because the subtraction uses absolute milliseconds, this is pure elapsed-time arithmetic. It does not need a timezone. The code also does not round to the nearest second; it floors the total to whole seconds, so the display never shows a fraction of a second.
The main status text shows a compact string. If the elapsed time is one day or more, it uses the form Xd Xh Xm Xs. If it is less than a day but at least an hour, it drops the days. If it is under an hour, it shows only minutes and seconds. The color of that text also changes: blue under one day, yellow under a week, orange under a month, and red at thirty days or more.
Month and week approximation
The "Detailed Breakdown" radio option shows months, weeks, days, and hours. The code uses a fixed 30.44-day month and a 7-day week. It does not use calendar month lengths. The steps are:
totalDays = Math.floor(elapsed / (1000 * 60 * 60 * 24)).months = Math.floor(totalDays / 30.44).remainingDaysAfterMonths = totalDays - Math.floor(months * 30.44).weeks = Math.floor(remainingDaysAfterMonths / 7).remainingDays = remainingDaysAfterMonths % 7.- The hours field copies the same hours value calculated for the elapsed view.
This means the month count is an approximation, not a calendar answer. For example, 60 total days gives about 1 month and 29 days using a 30.44-day month, but the code shows 1 month, 4 weeks, and 1 day because it subtracts 30.44 days for the month, leaving about 29.56 days, then subtracts 28 days for 4 weeks, leaving about 1 day. If you need true calendar months, use a different tool or count on a calendar.
Live updates and manual refresh
The info card at the bottom shows the selected timezone's current time and updates every second. The 12-hour/24-hour toggle changes the is24HourFormat variable and re-renders both the live time and the event date string. This toggle does not change any elapsed-time number.
The Refresh Live Timer button does not change the calculation either. It calls the same three update functions and adds a short highlight to the dashboard (a 1.02x scale transform and a light background that fades after 300 milliseconds). The one-second interval already keeps the timer current, so the refresh button is mainly useful if the tab was suspended or if you want visual confirmation.
Edge cases and input limits
- Event in the future: If the selected event's timestamp is later than the browser's current time, the code sets all elapsed fields to
0and displays "NOT YET STARTED" in gray. This is the only negative-input path handled. - Equal times: If the browser clock exactly matches the event time, total seconds is zero, and all displays show
0with blue text. - Incorrect browser clock: Every elapsed number will be wrong by the same amount as the browser's clock error. The timer does not correct for clock drift or synchronize with network time servers.
- No custom input: You cannot type or paste a custom event date. The five events in the dropdown are the only options.
- Malformed or missing data: The JavaScript does not validate dropdown keys, handle missing entries, or check for out-of-range timezone strings. All supplied options are valid, so this is not an issue in normal use. If an invalid timezone string were somehow passed, the browser's
toLocaleStringcould throw or fall back, but the supplied options are all valid.
U.S.-Israel-Iran War 2026 Timer Elapsed Tracking with the U.S.-Israel–Iran War (2026) Timer
Example 1: War Start, one full day later
Suppose the browser clock reads March 1, 2026, at 06:27:00 UTC. The war-start event is February 28, 2026, 06:27:00 UTC. The difference is 86,400,000 ms, or 86,400 seconds. Following the code:
- Days =
Math.floor(86400 / 86400) = 1. - Hours =
Math.floor((86400 % 86400) / 3600) = 0. - Minutes =
Math.floor((86400 % 3600) / 60) = 0. - Seconds =
86400 % 60 = 0.
The main display shows 1d 0h 0m 0s. The detailed view computes total days = 1, months = 0, weeks = 0, remaining days = 1, and hours = 0, so it displays 0 months, 0 weeks, 1 day, 0 hours.
Example 2: Khamenei death, 1 hour 30 minutes later
Suppose the browser clock reads February 28, 2026, at 08:30:00 UTC. The khamenei-death event is at 07:00:00 UTC. The difference is 5,400,000 ms, or 5,400 seconds. Working through the code:
- Days =
Math.floor(5400 / 86400) = 0. - Hours =
Math.floor((5400 % 86400) / 3600) = 1. - Minutes =
Math.floor((5400 % 3600) / 60) = 30. - Seconds =
5400 % 60 = 0.
The main display shows 1h 30m 0s. The detailed view shows total days = 0, months = 0, weeks = 0, remaining days = 0, and hours = 1, so it displays 0 months, 0 weeks, 0 days, 1 hour.
Both examples use plain UTC timestamps with no daylight saving transition. In a browser whose system clock and timezone are set correctly, the displayed wall times in other zones will shift, but the elapsed numbers remain identical.
Frequently asked questions about U.S.-Israel–Iran War (2026) Timer
Why are the event timestamps in UTC?
UTC is a worldwide reference time. Storing events in UTC avoids ambiguity caused by local time zones and daylight saving changes. The elapsed subtraction uses those absolute milliseconds, so the count works the same everywhere. The BIPM defines the SI second, and NIST explains how seconds are measured in practice; neither standard is built into this page. For timekeeping that must be legally or scientifically traceable, use certified equipment rather than a browser timer.
Does changing the timezone change the elapsed time?
No. It changes only how the current wall-clock time and event dates are displayed. The number of days, hours, minutes, and seconds since the event is always based on the same two millisecond values; the selected timezone is never used in the subtraction.
How does the timer handle daylight saving time?
The elapsed-time arithmetic is not affected by DST. The formatted wall-clock output uses the browser's timezone database through toLocaleString, so the displayed time in a zone can shift when that zone changes its clocks. The timer's subtraction itself never does.
Can I track an event that is not in the list?
No. The five event dates are fixed in the page's JavaScript. You can select a different event from the dropdown, but you cannot type or paste a custom date. For a custom start time, use a general tool such as the Count Up Timer.
How accurate is the timer?
It updates every second and relies entirely on the computer's clock. The BIPM defines the SI second, and NIST explains how seconds are measured in practice; neither standard is built into this page. For timekeeping that must be legally or scientifically traceable, use certified equipment rather than a browser timer.
Read next: Birthday Countdown Clocks