WIB to IST Converter
Category: Time Zone ConvertersNeed a Different Conversion?
This tool is specific for WIB to IST. For any other cities or time zones around the world, use our flexible Universal Time Zone Converter.Western Indonesian Time (WIB)
UTC+7 โข Jakarta, Surabaya, BandungConversion Settings
Configure your timezone conversion preferencesIndian Standard Time (IST)
UTC+5:30 โข Mumbai, Delhi, KolkataWIB to IST Conversion Guide
What is WIB to IST Conversion?
WIB to IST conversion helps you translate time between Western Indonesian Time and Indian Standard Time. WIB is UTC+7 and covers western Indonesia including Jakarta, Surabaya, and Bandung. IST is UTC+5:30 and covers all of India. Neither time zone observes daylight saving time, making the conversion simple with a constant 1.5-hour difference throughout the year.
Time Zone Information
Consistent Time Relationship
Common Conversion Examples
Conversion Tips & Best Practices
This WIB to IST converter turns a date and time in Western Indonesian Time (UTC+7) into Indian Standard Time (UTC+5:30), and the other way if you swap. It uses fixed offsets written into the code, not the IANA Time Zone Database, for its core arithmetic. WIB is always 1 hour 30 minutes ahead of IST.
Key points:
- WIB is treated as a fixed UTC+7 offset, IST as a fixed UTC+5:30 offset.
- The conversion subtracts a hardcoded offset and builds a UTC timestamp with
Date.UTC. - Formatting helpers like
Intl.DateTimeFormataffect only how times are displayed. - Blank date or time fields reset the output. Malformed values throw inside a try block and also reset.
- Neither zone observes daylight saving time, and the DST-aware checkbox is disabled by the code.
How the conversion works
The tool reads the date and time from two input fields. It parses the date string by character position: the first four characters become the year, characters 5 and 6 become the month, and characters 8 and 9 become the day. The time is parsed the same way: the first two characters are the hour, and characters 3 and 4 are the minute. Then it picks a fixed offset from your chosen input zone.
If WIB is selected, the offset is 7. If IST is selected, the offset is 5.5. The script calls Date.UTC(year, month, day, hour - offset, minute) to build a UTC timestamp. That timestamp is then formatted in the target zone using toLocaleTimeString and toLocaleDateString.
The IANA Time Zone Database records representative location-based civil-time rules and changes over time, but this converter does not query it for the arithmetic. The formatting step uses the strings Asia/Jakarta and Asia/Kolkata, which are IANA identifiers, but the offset subtraction is already done before formatting.
What the inputs do
The visible conversion inputs are a date field and a time field. On page load, both are filled with the current date and time in Jakarta. The time zone dropdown starts on WIB.
Several settings affect how the tool behaves:
- Auto Convert: On by default. When checked, changing the date or time triggers a conversion without pressing the button.
- Show Seconds: On by default. It adds seconds to the live clocks and conversion displays. It does not change the arithmetic.
- Show UTC Offset: Off by default. It switches offset labels between
+7and+07:00style formats. It only changes text. - Daylight Saving Aware: Disabled and unchecked. The script sets it to disabled and false when the page loads.
- Time Format: Toggles between 12-hour and 24-hour display. The default is 12-hour. It affects formatting only.
Manual offset arithmetic
The calculation uses elapsed-time arithmetic with fixed offsets. It does not ask the browser to interpret the date in Jakarta or Kolkata before doing the math. For a WIB input, the script subtracts 7 hours and calls Date.UTC. For an IST input, it subtracts 5.5 hours. Passing a fractional hour to Date.UTC is allowed; JavaScript converts the fraction to minutes, so 5.5 hours becomes 5 hours and 30 minutes.
This approach means the code assumes WIB is always UTC+7 and IST is always UTC+5:30. Those assumptions match current civil time. If a zone changed its offset in the future, the manual arithmetic would still use the old number. The formatting step would show the new offset, creating a mismatch. For current dates, the two agree.
For comparison, a CST to WIB converter would face a harder problem because parts of North America observe daylight saving. This WIB to IST tool avoids that complexity because neither zone changes seasonally.
Formatting and display
After the UTC timestamp is built, the script formats it for both zones. The main result shows the converted time and date. The date uses a weekday, year, month, and day format. A detail section below shows a time difference label, UTC offsets, and a DST status string.
The time difference is a hardcoded string, not a computed value. It always reads 1.5 hours. The UTC offset labels are also hardcoded: +7 or +07:00 for WIB, and +5:30 or +05:30 for IST. The DST status always reads Neither timezone observes DST. These values do not change based on the date you enter.
There is no rounding step in the conversion. The script reads the minute you entered and passes it directly to Date.UTC. Seconds are not parsed from the input at all; the input time field has no seconds component. When the result displays seconds, they come from the formatted timestamp, not from a rounded minute value.
The live clocks at the bottom use Intl.DateTimeFormat with Asia/Jakarta and Asia/Kolkata to show the current time in both zones. They update every second. They are separate from the conversion calculation.
Blank, malformed, and out-of-range
Different bad inputs behave differently because the code paths differ:
- Blank date or time: The conversion function immediately calls
resetDisplayand returns. The output shows--:--:--andSelect a time to convert. - Malformed values: If the input fields contain values that do not match the expected character positions, the parsed numbers may be
NaN. The script throws inside itstryblock when theDateobject is invalid, logs an error, and resets the display. - Out-of-range dates: A date like 2025-02-30 is sliced into numbers that do not form a valid calendar date.
Date.UTCrolls invalid days forward to the next valid date. The tool does not validate whether the date exists before callingDate.UTC. The result may not be what the user intended. - Negative values or very old years: The standard date input normally prevents these, but if present they may produce an invalid
Dateand trigger the same error-and-reset path.
The tool does not ignore malformed input silently. It either resets on blank fields or catches the error and resets. There is no separate error message beyond the placeholder text.
Why the gap does not change
WIB and IST both use fixed offsets year-round. WIB is UTC+7, and IST is UTC+5:30. Neither Indonesia nor India adjusts clocks for daylight saving. The NIST page on Daylight Saving Time explains that DST transitions are specific to the United States, and that other jurisdictions can use different rules. That is why the DST-aware checkbox in this tool is disabled: there is no DST rule to apply.
Because the offsets are fixed, the difference is always 1 hour 30 minutes. You can subtract 1 hour 30 minutes from any WIB time to get IST, or add 1 hour 30 minutes to any IST time to get WIB. The date can change near midnight. For example, WIB 1:00 AM becomes IST 11:30 PM on the previous day.
A tool for a zone that observes daylight saving, such as an AEDT to IST converter, would need to account for seasonal offset changes. This WIB to IST tool does not, because the offset never changes.
Worked examples
The WIB to IST Converter examples below follow the calculator's actual input and output path.
These examples follow the exact arithmetic in the script. Both use an ordinary calendar date with no offset changes.
Example 1: 4:00 PM WIB to IST
- Input date: 2025-06-10; input time: 16:00; input zone: WIB.
- Parsed hour is 16, minute is 0. WIB offset is 7.
- Compute
Date.UTC(2025, 5, 10, 16 - 7, 0)= UTC 09:00. - Format in Asia/Kolkata: IST is UTC+5:30, so UTC 09:00 becomes 14:30 IST.
- Result: 4:00 PM WIB = 2:30 PM IST on the same day.
Example 2: 9:00 PM IST to WIB
- Input date: 2025-06-10; input time: 21:00; input zone: IST.
- Parsed hour is 21, minute is 0. IST offset is 5.5.
- Compute
Date.UTC(2025, 5, 10, 21 - 5.5, 0)=Date.UTC(2025, 5, 10, 15.5, 0)= UTC 15:30. - Format in Asia/Jakarta: WIB is UTC+7, so UTC 15:30 becomes 22:30 WIB.
- Result: 9:00 PM IST = 10:30 PM WIB on the same day.
Here is a quick reference table for common conversions on the same date:
| WIB (UTC+7) | IST (UTC+5:30) |
|---|---|
| 12:00 AM | 10:30 PM (previous day) |
| 9:00 AM | 7:30 AM |
| 12:00 PM | 10:30 AM |
| 4:00 PM | 2:30 PM |
| 8:00 PM | 6:30 PM |
WIB to IST converter behavior
This converter does one job with fixed offsets. It reads a date and time, subtracts a hardcoded offset to get a UTC instant, then formats that instant in the other zone. It does not consult the IANA Time Zone Database for the arithmetic. It does not handle DST because neither zone uses it. It does not round minutes. It resets on blank fields and catches errors on malformed dates.
Those design choices make the tool simple and predictable for current dates. They also mean the tool is not a general time zone engine. If you need a converter that handles a zone with seasonal changes, look for one built for that zone. For WIB and IST, the fixed-offset approach works because the difference is permanently 1 hour 30 minutes.
For a broader view of how one zone relates to UTC without DST, see the WIB to UTC converter.
Frequently asked questions about WIB to IST Converter
What is the time difference between WIB and IST?
WIB is always 1 hour 30 minutes ahead of IST. The tool hardcodes this difference as 1.5 hours in the output.
Does the converter use IANA time zone rules?
No. The arithmetic uses fixed offsets: 7 for WIB and 5.5 for IST. The formatting step uses IANA identifiers like Asia/Jakarta and Asia/Kolkata, but the offset subtraction is manual.
Why is the DST-aware checkbox disabled?
Neither WIB nor IST observes daylight saving time. The script sets the checkbox to disabled and unchecked when the page loads, and no DST logic runs during conversion.
How does the converter handle blank input?
If the date or time field is empty, the conversion function calls resetDisplay and returns. The output shows placeholders instead of a converted time.
Read next: 25 Facts About Daylight Saving Time