PDT to WIB Converter
Category: Time Zone ConvertersNeed a Different Conversion?
This tool is specific for PDT to WIB. For any other cities or time zones around the world, use our flexible Universal Time Zone Converter.Pacific Daylight Time (PDT)
UTC-7 โข Los Angeles, Vancouver, SeattleConversion Settings
Configure your timezone conversion preferencesWestern Indonesian Time (WIB)
UTC+7 โข Jakarta, Surabaya, MedanPDT to WIB Conversion Guide
What is PDT to WIB Conversion?
PDT to WIB conversion helps you translate time between Pacific Daylight Time and Western Indonesian Time. PDT is UTC-7 and is observed during daylight saving time from March to November in the Pacific region. WIB is UTC+7 and remains constant year-round in western Indonesia. The time difference is always 14 hours, with WIB being ahead of PDT.
Time Zone Information
Daylight Saving Time Impact
Common Conversion Examples
Conversion Tips & Best Practices
The PDT to WIB Converter reads a date and time, builds a UTC timestamp using code-defined offsets, and then formats that timestamp for both Pacific Time and Western Indonesian Time. The conversion arithmetic does not use the IANA time zone database. Instead, it relies on fixed offsets and a custom daylight saving helper.
Key points:
- PDT is UTC-7 during daylight saving time; PST is UTC-8 during standard time.
- WIB is UTC+7 year-round and does not observe daylight saving time.
- The conversion uses
Date.UTC()with manually applied offsets, not IANA rules. - A custom
isDateInUS_DST()helper checks whether the entered date falls in the current Pacific daylight saving window. - Defaults: Auto Convert off, DST Aware on, Show Seconds on, Show UTC Offset off.
- Blank or malformed inputs reset the display to placeholder text.
Parsing and Conversion
The tool starts by reading the date input (format YYYY-MM-DD) and the time input (format HH:MM). It extracts the year, month, day, hour, and minute as integers. Seconds are never parsed from the input, so every conversion begins with seconds set to zero.
The input dropdown tells the tool which zone the entered time belongs to. There are two choices:
America/Los_Angelesโ Pacific Time, which may be PDT or PST.Asia/Jakartaโ WIB, always UTC+7.
For an America/Los_Angeles input, the code builds a JavaScript Date using the entered year, month, day, hour, and minute. That date object is in your browser's local time zone, not Pacific Time. The custom helper then checks whether that local date falls inside the code's US daylight saving window. If DST Aware is on and the helper returns true, the offset is -7 (PDT). Otherwise the offset is -8 (PST). If DST Aware is off, the offset is forced to -7 regardless of the date.
For an Asia/Jakarta input, the offset is always +7. No daylight saving check is run for WIB.
Once the offset is known, the code computes a UTC timestamp with Date.UTC(year, month, day, hour - offset, minute). Because the offset is subtracted, a later local hour produces a later UTC instant. That single UTC timestamp is then formatted twiceโonce for the Pacific zone and once for WIBโusing toLocaleTimeString and toLocaleDateString. Those formatting calls do use IANA identifiers, but they only control how the already-calculated instant is displayed.
In short, the arithmetic is offset-based, while the display uses the browser's time zone data. That distinction matters whenever you push the tool into a date where the code's offset table and the browser's IANA rules disagree. For a similar offset-driven approach applied to another pair of zones, see the PDT to NZST Converter.
Controls and Defaults
The converter exposes several checkboxes and buttons. Only some of them change the calculation. The rest change how the result looks.
| Control | Default | Effect on calculation |
|---|---|---|
| Auto Convert | Off | If on, changing the date or time field triggers an immediate conversion. If off, you must click Convert Time. |
| Daylight Saving Aware | On | If on, the custom DST helper decides between -7 and -8 for Pacific input. If off, the offset is always -7. |
| Show UTC Offset | Off | Display only. Switches between -7 and -07:00 style labels. |
| Show Seconds | On | Display only. Adds or removes the seconds field in time strings. |
| Time Format button | 12 Hour | Display only. Toggles between 12-hour and 24-hour clock styles. |
The buttons at the bottom do different things. Convert Time runs the calculation manually. Swap flips the input and output zones and keeps the entered date and time values. Now fills the input with the current time in the selected input zone and runs a conversion. Reset puts the date and time back to the current Pacific time, sets the zone back to America/Los_Angeles, and clears the result panel.
Keyboard shortcuts are also wired up. Pressing Space or Enter converts, S swaps, N sets the current time, R resets, and F toggles the time format. These shortcuts are skipped when focus is inside an input or select element.
The Custom DST Helper
Daylight saving status is decided by a function called isDateInUS_DST(date). The helper receives a JavaScript Date built from your entered calendar values in your browser's local time zone. Your system time zone therefore shapes which local instant the helper examines, even though the offset it returns is applied as if the input were Pacific wall time. On most devices set to Pacific time this matches; on a device set to another zone it does not.
The function calculates two boundaries for the year of that date:
- Start: the second Sunday in March at 2:00 AM local time.
- End: the first Sunday in November at 2:00 AM local time.
It returns true when the date is at or after the start boundary and strictly before the end boundary. The function is fixed to the current US daylight saving schedule. It does not consult any external table, and it does not adjust for years when the rule was different.
When the DST Aware checkbox is off, the helper is skipped. The code still sets a Pacific offset, but it sets it to -7 for every date, so the converter behaves as though Pacific Time were always PDT.
For comparison, other tools on this site apply different offset pairs. The EST to PDT Converter pairs Eastern Time with Pacific Time, and the BST to WIB Converter handles British Summer Time. Each has its own offset assumptions, so the displayed results from one tool should not be assumed to carry over to another.
Output and Rounding
The output panel shows several values. The main line shows the time in the target zone, and the line below names the target zone and its local date. A details block adds the time difference, the Pacific offset, the WIB offset, and a DST status label.
The formatted dates section at the bottom repeats the Pacific and WIB times together with their weekday, month, day, and year, and appends the zone nameโeither PDT, PST, or WIB. The Pacific zone name is derived from the same DST helper, so its label and the time difference label always agree with each other.
The time difference is shown as either "14 hours" or "15 hours". It is calculated as a fixed label based on the DST status of the Pacific side, not as a live subtraction of the two displayed clocks. The WIB offset is always shown as +7, or +07:00 when Show UTC Offset is on.
No rounding happens on the input side because the HTML time input supplies whole minutes. On the display side, formatting follows the browser's locale conventions for the en-US locale requested by the code. The seconds shown in live clocks and in results are real seconds taken from the current system clock or zero for converted inputs; the conversion never rounds or truncates a non-zero seconds value because it does not receive one.
Worked Examples
The PDT to WIB Converter examples below follow the calculator's actual input and output path.
Both examples below avoid daylight saving transition dates. The DST Aware checkbox is on for both.
Example 1: PDT to WIB on June 15, 2025 at 9:00 AM
- The input zone is
America/Los_Angeles. June 15 falls inside the helper's DST window, so the offset is -7. Date.UTC(2025, 5, 15, 9 - (-7), 0)becomesDate.UTC(2025, 5, 15, 16, 0), which is 16:00 UTC.- Formatting that instant for
Asia/Jakartagives 23:00 WIB on June 15, 2025. - The time difference label shows "14 hours".
Example 2: WIB to Pacific on January 15, 2025 at 9:00 AM
- The input zone is
Asia/Jakarta, so the offset is +7 with no DST check. Date.UTC(2025, 0, 15, 9 - 7, 0)becomesDate.UTC(2025, 0, 15, 2, 0), which is 02:00 UTC.- January 15 is outside the helper's DST window, so the Pacific offset is -8.
- Formatting the instant for
America/Los_Angelesgives 18:00 PST on January 14, 2025. - The time difference label shows "15 hours".
Notice that Example 2 crosses into the previous calendar day in Pacific Time. The tool shows the target zone's own date, so the date change is handled by the formatting step rather than by any date arithmetic in the converter.
Blank Malformed and Out-of-Range Inputs
Blank date or time fields are treated differently from malformed ones. When either field is empty, convertTime() calls resetDisplay() and returns without throwing an error. The result area falls back to placeholders: --:--:-- for the converted time, "Select a time to convert" for the date line, and -- in the detail fields.
Malformed values take a different path. If the date or time strings do not match the expected positionsโfor example if parseInt produces NaNโthe code still tries to build a UTC timestamp. The check isNaN(universalDate.getTime()) then throws an error, is caught by the surrounding try/catch, and the display resets the same way. No error message is shown to the user.
Out-of-range calendar dates are not validated by the tool. If a date such as February 30 somehow reached the code, Date.UTC() would roll it over to a different day and the conversion would proceed with that rolled-over value. The date input in most browsers prevents this at the UI level, but the JavaScript itself does not.
Negative years or hours are not blocked by the input elements either. If crafted values reached the code, Date.UTC() would interpret a negative year as a year before 1 AD, and negative hours would subtract from the day. The converter does not reject these, so they should be treated as unsupported inputs rather than safe edge cases.
Historical Limits and Fixed Offsets
Because the DST helper hardcodes the current US rule, the tool can disagree with real historical Pacific clocks. The 2007 change to US daylight saving dates is not reflected; dates before that year are checked against the current rule instead of the rule that was in force at the time. The IANA Time Zone Database records those older rules, but the converter's helper does not read from it.
WIB is simpler in one respect: it has no daylight saving change in the tool's logic, so a +7 offset is applied for every date the tool receives. For historical dates when western Indonesia observed a different offset, the tool would still use +7. NIST explains that United States daylight-saving transitions are a matter of domestic rule, and other jurisdictions can apply different rules, which is one reason a fixed offset model can drift away from real civil time over long spans.
The practical limit is this: the tool is at its best for present-day and near-future dates, where the current US daylight saving rule and the current WIB offset both hold. Treat historical and far-future conversions as approximate.
PDT to WIB Converter Fixed Offsets and DST Logic
The converter fits best when you know which side of the Pacific your event lives on and you want one reliable look at the other side. Enter the date and time on the side you know, pick the matching zone, and read the result. The 14-hour or 15-hour label tells you which phase of the year Pacific Time is in, and the DST status line confirms the offset the tool applied.
If you are scheduling across several zones, it helps to compare this tool with its neighbors. The CST to WIB Converter works the same Jakarta side from Central Time, and the NZST to PST Converter covers a different Pacific pairing. Each one carries its own offset assumptions, so read the details panel rather than assuming the gap is identical across tools.
Frequently asked questions about PDT to WIB Converter
Does the converter use IANA rules for the calculation?
No. The arithmetic uses code-defined offsets plus a custom daylight saving helper. The IANA identifiers America/Los_Angeles and Asia/Jakarta appear in the formatting step, where Intl.DateTimeFormat and related methods render the already-calculated instant.
Why does the time difference sometimes show 15 hours instead of 14?
When the custom helper reports that Pacific Time is in DST, the Pacific offset is -7 and the gap to WIB is 14 hours. When it reports standard time, the offset is -8 and the gap is 15 hours. Turning off Daylight Saving Aware forces the offset to -7, so the label stays at 14 hours.
What happens if I swap the zones?
Swap flips the dropdown value and updates the zone titles. The entered date and time stay as they are. On the next conversion, the tool treats those values as belonging to the new input zone and shows the other zone as the output.
Can I use it for a date before 2007?
You can enter one, but the result may not match real historical clocks. The DST helper always applies the current US daylight saving schedule, so older dates are checked against rules that were not in force then.
Read next: 25 Facts About Daylight Saving Time