ICT to WIB Converter
Category: Time Zone ConvertersNeed a Different Conversion?
This tool is specific for ICT to WIB. For any other cities or time zones around the world, use our flexible Universal Time Zone Converter.Indochina Time (ICT)
UTC+7 โข Bangkok, Ho Chi Minh City, Phnom PenhConversion Settings
Configure your timezone conversion preferencesWestern Indonesian Time (WIB)
UTC+7 โข Jakarta, Bandung, SurabayaICT to WIB Conversion Guide
What is ICT to WIB Conversion?
ICT to WIB conversion shows time between Indochina Time and Western Indonesian Time. Both time zones are UTC+7 and never observe daylight saving time, making them essentially identical. ICT is used in Thailand, Vietnam, Cambodia, and Laos, while WIB is used in western Indonesia including Jakarta and Java.
Time Zone Information
Regional Coverage
Common Conversion Examples
Conversion Tips & Best Practices
Indochina Time (ICT) and Western Indonesian Time (WIB) are both fixed at UTC+7, and this converter labels the same wall time for each region. The calculator uses a hardcoded offset of 7 hours to build a UTC timestamp, then formats that timestamp for Asia/Bangkok and Asia/Jakarta using Intl.DateTimeFormat. Because both zones share the same offset, the displayed times are identical; only the labels and date information differ.
The ICT to WIB Converter uses the calculator's inputs, offset rules, and output described below. Key points:
- The conversion arithmetic uses a fixed UTC+7 offset, not the IANA Time Zone Database rules.
- Output formatting relies on Intl.DateTimeFormat with the identifiers Asia/Bangkok and Asia/Jakarta.
- Display options like Show Seconds, Show UTC Offset, and the 12/24-hour toggle change formatting only, not the calculated time.
- The DST Aware checkbox changes only the text shown in the DST Status field; it does not alter the time.
- Blank inputs reset the display; malformed or out-of-range dates trigger a fallback and reset.
Try the ICT to WIB Converter to see the labeled time for either region.
How the fixed offset works
The converter does not use Intl.DateTimeFormat for its arithmetic. Instead, it parses the input date and time into separate numbers, subtracts a fixed offset of 7 hours, and builds a UTC timestamp with Date.UTC. That timestamp is then passed to Intl.DateTimeFormat to produce the display strings.
Because both Asia/Bangkok and Asia/Jakarta are treated as UTC+7 in the code, the formatted times are identical. Only the labels and surrounding date information differ. This is different from converters like the UTC to WIB converter, which handles an actual time difference.
Inputs and controls
The tool accepts the following inputs:
- Date and time fields: Separate date and time inputs. The date input expects YYYY-MM-DD and the time input expects HH:MM. When empty, the converter resets the output.
- Input timezone dropdown: Options are Asia/Bangkok (ICT) and Asia/Jakarta (WIB). Changing this swaps the zone labels, but the fixed UTC+7 offset used in the calculation stays the same.
- Auto Convert checkbox: When checked, changing the date or time triggers a new conversion. When unchecked, you must click Convert Time manually.
- DST Aware checkbox: This controls only the text in the DST Status field. If unchecked, the status reads "DST awareness disabled"; if checked, it reads "Neither region observes daylight saving time." The time calculation uses the same fixed offset either way.
- Show UTC Offset checkbox: When checked, the ICT and WIB offset fields display +07:00 instead of +7. This changes only the text, not the calculated time.
- Show Seconds checkbox: When checked, seconds appear in the main result and formatted times. When unchecked, seconds are omitted. The underlying UTC timestamp still includes seconds from the input's minute value.
Action buttons:
- Convert Time: Runs the conversion manually.
- Swap Timezones: Switches the input and output zones. Because both zones share the same offset, the displayed times do not change.
- Now: Fills the input fields with the current time in the selected zone and immediately converts.
- Reset: Restores the default date and time (current ICT time) and clears the display.
Calculation step by step
The conversion follows these steps:
- Read the date and time strings from the input fields.
- Extract year, month (0-indexed), day, hour, and minute as integers.
- Set utcOffset to 7, regardless of whether the input zone is ICT or WIB.
- Create a UTC timestamp using Date.UTC(year, month, day, hour - utcOffset, minute).
- Check if the resulting Date object is valid. If not, throw an error and reset the display.
- Format the UTC timestamp for Asia/Bangkok and Asia/Jakarta using Intl.DateTimeFormat with the chosen display options.
Because the calculation always subtracts 7 hours, the formatted wall times for both zones are the same. The tool does not use IANA historical rules in this arithmetic; it relies on the fixed offset assumption that both zones are always UTC+7.
Output fields explained
The converter displays several pieces of information:
- Main result: The converted time and date for the output zone (WIB if input was ICT, or ICT if input was WIB). The time format depends on the Show Seconds and 12/24-hour toggles.
- Time Difference: Always shows "0 hours (same time)" because both zones share the same offset.
- UTC Offset (ICT) and UTC Offset (WIB): Show +7 or +7:00 depending on the Show UTC Offset checkbox.
- DST Status: Shows "Neither region observes daylight saving time" or "DST awareness disabled" based on the DST Aware checkbox.
- Formatted dates: The bottom section shows the full time and date for both ICT and WIB, with region labels.
Time formatting uses the browser's Intl.DateTimeFormat with the timeZone option set to Asia/Bangkok or Asia/Jakarta. The code does not perform rounding of the time; it displays the minute and optionally seconds as provided by the input.
The table below summarizes how each setting affects the output:
| Control | Effect on output |
|---|---|
| Show Seconds checkbox | When checked, includes seconds in time strings. When unchecked, seconds are hidden. |
| Show UTC Offset checkbox | When checked, shows offset as +07:00. When unchecked, shows +7. |
| 12/24 Hour toggle | Switches time display between 12-hour and 24-hour format. |
| DST Aware checkbox | Changes the text in the DST Status field only. Does not affect time calculation. |
Worked examples: identical times
Example 1: Converting 9:00 AM ICT to WIB
- Input: Date 2024-01-01, Time 09:00, Zone Asia/Bangkok.
- Parsed values: year=2024, month=0, day=1, hour=9, minute=0.
- utcOffset = 7. Date.UTC(2024, 0, 1, 9 - 7, 0) = Date.UTC(2024, 0, 1, 2, 0).
- Formatted for Asia/Jakarta: 9:00 AM, Mon, Jan 1, 2024.
- Main result shows 9:00:00 AM and "Mon, Jan 1, 2024 (WIB)" when Show Seconds is checked.
- Time Difference: 0 hours (same time).
Example 2: Converting 5:30 PM WIB to ICT
- Input: Date 2024-01-01, Time 17:30, Zone Asia/Jakarta.
- Parsed values: year=2024, month=0, day=1, hour=17, minute=30.
- utcOffset = 7. Date.UTC(2024, 0, 1, 17 - 7, 30) = Date.UTC(2024, 0, 1, 10, 30).
- Formatted for Asia/Bangkok: 5:30 PM, Mon, Jan 1, 2024.
- Main result shows 5:30:00 PM and "Mon, Jan 1, 2024 (ICT)" when Show Seconds is checked.
- Time Difference: 0 hours (same time).
These examples show that the conversion does not change the clock. The same wall time is shown in both output sections.
How invalid inputs are handled
Blank inputs: If either the date or time field is empty, the converter calls resetDisplay() and shows --:--:--. No error is thrown.
Malformed inputs: If the input strings do not match the expected format, parseInt may return NaN. The code checks for NaN in the resulting Date object and throws an error, which triggers resetDisplay().
Out-of-range dates: If the date components are out of range (e.g., month 13, day 32), the Date.UTC call normalizes them or produces an unexpected date. The code does not explicitly validate ranges before calling Date.UTC, so the resulting timestamp may be valid but not the intended date. For example, month 11 becomes December, and day 0 becomes the last day of the previous month.
Negative or zero values: The HTML date and time inputs constrain the format, but the code itself does not reject negative numbers if they somehow appear. parseInt would parse them, and Date.UTC would adjust the date accordingly.
DST checkbox: label only
The DST Aware checkbox does not change the time calculation. It only changes the text shown in the DST Status field.
- Checked (default): Status reads "Neither region observes daylight saving time."
- Unchecked: Status reads "DST awareness disabled."
The converter always subtracts 7 hours from the input, no matter whether the checkbox is on or off. If you need a converter that handles zones that actually observe DST, see the EST to WIB converter or the BST to WIB converter.
ICT to WIB Conversion With a Fixed UTC+7 Offset with the ICT to WIB Converter
The IANA Time Zone Database records representative location-based civil-time rules and changes over time. This converter does not consult that database for its calculation. It uses a hardcoded offset of 7 hours. The only place IANA-like data appears is in the Intl.DateTimeFormat formatting calls, which use the identifiers Asia/Bangkok and Asia/Jakarta to produce display strings. That formatting step does not change the arithmetic.
NIST explains United States daylight-saving transitions; other jurisdictions can use different rules. Neither ICT nor WIB observes daylight saving time in the code's assumption, so the fixed offset is used year-round.
This fixed behavior makes the tool easy to understand: the result is always the same wall time, labeled by region. For more background on how time zones work, you can read the article 25 Facts About Time Zones.
Frequently asked questions about ICT to WIB Converter
Is ICT the same as WIB?
Yes. Both Indochina Time (ICT) and Western Indonesian Time (WIB) use UTC+7 year-round and do not observe daylight saving time. They are the same time zone with different regional names.
What is the time difference between ICT and WIB?
There is no time difference. ICT and WIB are identical, so the time is the same in both zones.
Do ICT and WIB observe daylight saving time?
No. Neither ICT nor WIB observes daylight saving time. Both zones maintain a fixed UTC+7 offset throughout the year.
Why does the converter show the same time for ICT and WIB?
The converter confirms that ICT and WIB are the same time zone. The output is labeled by region (ICT or WIB) to avoid confusion, but the wall time is identical.
Read next: 25 Facts About Daylight Saving Time