PST to WIB Converter
Category: Time Zone ConvertersNeed a Different Conversion?
This tool is specific for PST to WIB. For any other cities or time zones around the world, use our flexible Universal Time Zone Converter.Pacific Standard Time (PST)
UTC-8 โข Los Angeles, Seattle, VancouverConversion Settings
Configure your timezone conversion preferencesWestern Indonesian Time (WIB)
UTC+7 โข Jakarta, Medan, BandungPST to WIB Conversion Guide
What is PST to WIB Conversion?
PST to WIB conversion helps you translate time between Pacific Standard Time and Western Indonesian Time. PST is UTC-8 during standard time and PDT is UTC-7 during daylight saving time. WIB is always UTC+7 year-round. The time difference varies between 14-15 hours depending on whether PST or PDT is in effect.
Time Zone Information
Time Difference Variations
Common Conversion Examples
Conversion Tips & Best Practices
This PST to WIB Converter reads a date and time you type, applies a fixed UTC offset to compute the matching clock time, and formats it in the other zone. Pacific Time gets a custom daylight saving check; Western Indonesian Time always uses UTC+7. The identifiers America/Los_Angeles and Asia/Jakarta show up in the formatting code, but the conversion math itself does not look up the IANA database.
Key points:
- PST is treated as UTC-8, PDT as UTC-7, and WIB as UTC+7.
- Pacific DST uses a code rule: from the second Sunday in March to the first Sunday in November.
- WIB stays on UTC+7 all year because Indonesia does not observe daylight saving.
- The time difference is 15 hours during PST and 14 hours during PDT.
- A blank date or time clears the result. Text that cannot be parsed causes an error that also clears the result. Impossible calendar values like month 13 or day 32 roll forward instead of being rejected.
What the tool reads
The main inputs are a date field, a time field, and a dropdown for the input zone. The dropdown offers America/Los_Angeles (Pacific Time) and Asia/Jakarta (Western Indonesian Time), with Pacific Time selected by default. The date field accepts a calendar date in YYYY-MM-DD form, and the time field accepts hours and minutes. Seconds you might type in the time field are not read by the conversion code; only the hour and minute are parsed.
When the page loads, the code fills the date and time fields with the current wall-clock moment in Pacific Time. It does this by calling Intl.DateTimeFormat with the zone America/Los_Angeles. That call is for formatting, not arithmetic. The typed conversion uses a separate path.
Below the inputs sit five settings and four action buttons. The settings are Auto Convert, Daylight Saving Aware, Show UTC Offset, Show Seconds, and a Time Format button. The action buttons are Convert Time, Swap, Now, and Reset. Each is described later, but only a few of them touch the conversion arithmetic.
How the conversion works
When you ask for a conversion, the code reads the date and time strings and pulls out the year, month (0-based), day, hour, and minute. Then it chooses an offset based on the input zone:
- If the input zone is
America/Los_Angeles, the code checks its custom DST helper. When DST is on, the offset is UTC-7. Otherwise it is UTC-8. - If the input zone is
Asia/Jakarta, the offset is fixed at UTC+7.
Next, the code builds a UTC timestamp with Date.UTC(year, month, day, hour - offset, minute). For a Pacific input of 9:00 with offset UTC-8, the expression hour - offset becomes 9 - (-8), or 17. So the UTC moment is 17:00 on that date.
That single UTC moment is then handed to the display code, which uses toLocaleTimeString and toLocaleDateString with each zone identifier. This formatting step turns the same UTC moment into the correct wall-clock text for Pacific Time and for WIB. The arithmetic uses fixed offsets and the code's own DST helper; the display step uses the browser's zone data through the Intl API. These are separate operations.
Because the math is offset-based, historical or future rule changes recorded in the IANA Time Zone Database are not applied to the typed input. The IANA database records representative location-based civil-time rules and changes over time, but this converter's arithmetic does not consult it. The formatting step can still show a zone-adjusted wall time, because Intl reads the browser's own zone data.
If you need the reverse direction, the WIB to PST Converter handles Jakarta-to-Pacific inputs. For a different North American comparison, the PST to MST Converter covers Mountain Time. For a different Asian origin zone, the PHT to WIB Converter starts from Philippine Time.
The custom DST rule
Pacific Time is not a single fixed offset because the US west coast observes daylight saving time. The converter decides which Pacific offset to use with a helper called isDateInUS_DST. That helper assumes daylight saving starts on the second Sunday in March and ends on the first Sunday in November, both around 2:00 AM. When the Daylight Saving Aware box is checked and the date falls inside that window, the code treats Pacific Time as UTC-7. Outside the window, or when the checkbox is off, it uses UTC-8.
NIST explains United States daylight-saving transitions, and it notes that other jurisdictions can use different rules. The custom helper here follows the general US pattern, but it is code-defined, not a live lookup. That means dates near the edges of the DST window, or dates in years when the rule was different, are handled by this fixed rule rather than by historical records.
WIB never shifts. Indonesia does not observe daylight saving time, so the code always applies UTC+7 for Asia/Jakarta. That fixed offset is the reason the gap is either 15 hours or 14 hours depending on the Pacific side.
Output and display details
The large result shows the converted time in the target zone. Under it, you see the target date and a label such as (WIB), (PST), or (PDT). A details panel lists four items:
- Time Difference โ shows
15 hoursduring PST and14 hoursduring PDT. - UTC Offset (PST) โ shows
-8or-7, or the colon form-08:00or-07:00when Show UTC Offset is on. - UTC Offset (WIB) โ shows
+7, or+07:00when Show UTC Offset is on. - DST Status โ tells you whether Pacific Time is on daylight time, standard time, or if DST awareness is disabled.
Two lines below repeat the full Pacific and WIB text. A live pair of clocks near the settings also updates every second. Those clocks read the real current moment through Intl; they are not part of the arithmetic that converts your typed input.
The Time Format button changes only how times are shown. It flips between 12-hour and 24-hour display. The Show Seconds setting adds or removes the seconds part of each displayed time, but it does not change which moment the tool calculated because seconds are not read from the input.
Blank, bad, and out-of-range inputs
Blank and malformed inputs are handled separately. If either the date field or the time field is empty, the code calls resetDisplay and shows --:--:-- in the result area. No error is raised in that case.
If both fields contain something, the code parses the text with its own substring calls: year from characters 0โ3, month from 5โ6, day from 8โ9, hour from 0โ1, and minute from 3โ4. If the text is unparseable, those values become NaN. When Date.UTC receives NaN, it returns an invalid Date. The code then throws an error, catches it, and calls resetDisplay. Unparseable text is not silently ignored; it fails into the reset path.
Impossible calendar values behave differently. Because Date.UTC normalizes overflow, a date like month 13 or day 32 rolls forward into the next valid month or year. A date like February 30 rolls into March. So the tool will not reject those values as errors. It will compute a real UTC moment, just not the calendar date you may have meant. If you want exact calendar accuracy, keep each field within its normal range before converting.
Negative or zero values in the date fields also normalize, because Date.UTC treats them the same way as overflow. The month field, for example, is 0-based in JavaScript, so a typed month of 0 rolls back to December of the previous year. The visible date picker normally prevents these cases, but the underlying parser does not.
Two worked examples
The PST to WIB Converter examples below follow the calculator's actual input and output path.
Both examples use ordinary dates outside the DST switch days. The Daylight Saving Aware box is on by default.
Example 1: Standard time, 9:00 AM in Los Angeles on January 15, 2025
January sits outside the DST window, so the tool uses UTC-8. The UTC hour becomes 9 - (-8) = 17. The UTC moment is 2025-01-15 17:00. WIB is UTC+7, so the display code shows 17:00 plus 7 hours, which is 00:00 on the next calendar day.
Output: 00:00:00 on Thu, Jan 16, 2025 (WIB). Time Difference shows 15 hours. UTC Offset (PST) shows -8, and UTC Offset (WIB) shows +7.
Example 2: Daylight time, 9:00 AM in Los Angeles on June 15, 2025
June sits inside the DST window, so the tool uses UTC-7. The UTC hour becomes 9 - (-7) = 16. The UTC moment is 2025-06-15 16:00. WIB is UTC+7, so the display code shows 16:00 plus 7 hours, which is 23:00 on the same calendar day.
Output: 23:00:00 on Sun, Jun 15, 2025 (WIB). Time Difference shows 14 hours. DST Status shows that Pacific Time is observing daylight time (PDT).
Settings and buttons that do not change the math
Not every control touches the offset arithmetic. Here is what each one does to the calculation path:
- Auto Convert โ when checked, changing the date or time field triggers a conversion immediately. It starts checked, and it does not change the math, only when the math runs.
- Daylight Saving Aware โ when checked, the custom Pacific DST helper is consulted. It starts checked. Turning it off forces UTC-8 for any Pacific input, even in summer.
- Show UTC Offset โ controls whether offsets are shown as
-8or-08:00in the details panel. It does not change the arithmetic. - Show Seconds โ controls whether the seconds part appears in displayed times. It does not change the arithmetic, and input seconds are never read.
- Time Format โ toggles 12-hour and 24-hour display. It does not change the arithmetic.
- Convert Time โ runs the conversion on demand.
- Swap โ flips the dropdown, the section titles, and the descriptions, then runs a conversion if a result is already showing.
- Now โ fills the fields with the current wall-clock moment in the selected zone, then converts.
- Reset โ returns the fields to the current Pacific time and clears the result area.
Keyboard shortcuts also exist: Space or Enter converts, S swaps, N jumps to now, R resets, and F toggles the time format. They do not change how the offset is chosen.
Picking the right PST or WIB moment with the PST to WIB Converter
Use the typed inputs when you want an answer for a specific future date, and check the DST Status line to see whether the 14-hour or 15-hour gap applies. Because the gap is wide, a morning time in California often lands on the next day in Jakarta, so look at the date label as well as the time. Early March and early November are the trickiest windows, because the custom DST rule flips around those dates. If your target is close to either edge, compare the DST Status line with the date you typed before you commit to a plan.
The live clocks are best when you just want the current moment on both sides. The typed fields are best when you want to test a future date and let the tool apply its code-defined rule. To go the other direction, press Swap or open the WIB to PST Converter. If you need a different North American comparison, the PST to MST Converter is a useful next step.
Frequently asked questions about PST to WIB Converter
What is the time difference between PST and WIB?
It is 15 hours when Pacific Time is on standard time (PST, UTC-8) and 14 hours when Pacific Time is on daylight time (PDT, UTC-7). WIB is always UTC+7.
Does Indonesia observe daylight saving time?
No. The code always uses UTC+7 for Asia/Jakarta because Indonesia does not shift its clocks for daylight saving. NIST notes that other jurisdictions can use different rules.
How does the converter decide between PST and PDT?
It uses a custom helper that assumes daylight saving starts on the second Sunday in March and ends on the first Sunday in November. The helper is applied only when the Daylight Saving Aware box is checked.
What happens if I leave an input blank or type an impossible date?
A blank date or time resets the display. Unparseable text triggers an error that also resets the display. Impossible calendar values like month 13 or day 32 roll forward through Date.UTC instead of being rejected, so the tool will compute a moment that may not match the date you meant.
Read next: 25 Facts About Daylight Saving Time