PST to HKT Converter
Category: Time Zone ConvertersNeed a Different Conversion?
This tool is specific for PST to HKT. 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, San Francisco, SeattleConversion Settings
Configure your timezone conversion preferencesHong Kong Time (HKT)
UTC+8 โข Hong Kong, MacauPST to HKT Conversion Guide
What is PST to HKT Conversion?
PST to HKT conversion helps you translate time between Pacific Standard Time and Hong Kong Time. PST alternates between PST (UTC-8) and PDT (UTC-7) with daylight saving changes, while HKT is UTC+8 year-round. The time difference varies: HKT is 16 hours ahead during PST and 15 hours ahead during PDT.
Time Zone Information
Daylight Saving Time Impact
Common Conversion Examples
Conversion Tips & Best Practices
The PST to HKT converter on this page is a time zone conversion tool that turns a chosen Pacific or Hong Kong date and time into the other zone. It does not read your device time zone to do the math. Instead, it parses the typed date and time, picks a fixed UTC offset, builds a UTC instant with Date.UTC, and then formats that instant for both zones.
Key points:
- Pacific Time is treated as UTC-8 outside the page's custom daylight saving window and UTC-7 inside it.
- Hong Kong Time is always UTC+8 in this page's calculation.
- The displayed time difference is 16 hours outside the window and 15 hours inside it.
- Blank fields reset the display. Malformed values that fail parsing throw an error, which is caught and logged while the display resets.
- The IANA identifiers
America/Los_AngelesandAsia/Hong_Kongare used for formatting and the live clock, not for the conversion arithmetic.
What this page converts
The page takes one moment typed into a date field and a time field, and shows the same moment in Pacific Time and Hong Kong Time. The input dropdown chooses which of these two zones your typed numbers belong to. The default is Pacific Time.
The conversion itself is a short arithmetic path. It parses the typed date and time, picks an offset, creates a UTC timestamp with Date.UTC, and then asks the browser to format that timestamp with toLocaleTimeString and toLocaleDateString using the two zone identifiers. The formatting helpers only print; they do not change the underlying instant.
For other starting zones, separate pages exist, such as the BST to PDT converter and the KST to PDT converter. Their arithmetic is not guaranteed to match this page's custom rules.
Entering a date and time
Two fields feed the conversion: a date input and a time input. When the page loads, the code fills them with the current Pacific date and time using a helper that reads parts through Intl.DateTimeFormat. Pressing Now refills both fields with the current time in whichever zone the dropdown currently shows, then immediately runs the conversion. Pressing Reset refills the fields with today's Pacific date and time, sets the dropdown back to Pacific Time, and clears the output.
The parser reads the date string by position: characters 0-3 are the year, 5-6 are the month, and 8-9 are the day. The time string uses characters 0-1 for the hour and 3-4 for the minute. Seconds are never read from the input, even when the Show Seconds setting is on. That setting only affects how the formatted result is printed.
Which controls change the result
Several controls change the arithmetic, and several only change the display. Mixing these up is the easiest way to get a surprising answer.
- Input time zone dropdown: Changes the arithmetic. Pacific Time uses the code's DST window to choose UTC-7 or UTC-8. Hong Kong Time always uses UTC+8.
- Auto Convert: Does not change arithmetic. When on (default), editing the date or time immediately reruns the conversion. When off, you must click Convert Time.
- Daylight Saving Aware: Changes the arithmetic. When on (default), the custom Pacific window applies. When off, Pacific Time is forced to UTC-8 for every date, including summer dates.
- Show UTC Offset: Display only. Changes the printed offsets from forms like
-8to forms like-08:00. - Show Seconds: Display only. Adds or removes seconds from the printed time strings and from the live clock.
- Time Format button: Display only. Toggles the 12-hour and 24-hour labels in the result and the live clock.
- Swap: Changes the meaning of the typed fields. Flipping it changes the dropdown and the on-screen zone titles, then reruns the conversion if one was already shown.
The conversion steps in code order
Here is what the code does each time convertTime() runs.
- Read the date string, time string, and the input zone from the dropdown.
- If either field is empty, stop and reset the display to its placeholder.
- Parse year, month (as a zero-based index), day, hour, and minute from the strings.
- Pick an offset. Pacific Time gets UTC-7 if Daylight Saving Aware is on and the date falls inside the custom window; otherwise UTC-8. Hong Kong Time always gets UTC+8.
- Compute a UTC timestamp with
Date.UTC(year, month, day, hour - offset, minute). - Format that timestamp for both
America/Los_AngelesandAsia/Hong_Kong.
There is no rounding step. Minutes are preserved exactly as typed. The only output variations come from the display toggles. Because the offset is chosen from a small table and the timestamp is built with plain arithmetic, the conversion math is not reading the IANA Time Zone Database during the calculation, even though the formatting step uses zone identifiers.
The custom Pacific DST window
Pacific daylight saving is decided by a JavaScript function, not by a library. The function looks at the typed date, builds a start boundary at 2:00 AM on the second Sunday in March of that year, and an end boundary at 2:00 AM on the first Sunday in November of that year. The date is counted as daylight time when it is at or after the start and before the end.
That check has two effects on the result. It chooses between UTC-7 and UTC-8 for the offset used in the conversion, and it drives the printed Time Difference row (15 hours inside the window, 16 hours outside) plus the DST Status text.
One important detail: the boundary dates are built with a timezone-less new Date(...) call, so their internal 2:00 AM is read in the browser's own local zone, not in Pacific Time. For most users this shifts the exact boundary minute. The check is therefore a window comparison on the typed calendar date, not a full local-clock transition test. NIST documents that United States daylight-saving transitions follow a defined schedule, and notes that other jurisdictions can use different rules; this page's rule is its own JavaScript version of that idea.
Reading the output panels
The main result block shows one time and date. When the input zone is Pacific Time, the main result shows HKT. When the input zone is Hong Kong Time, the main result shows Pacific Time and includes the correct label (PST or PDT). Below the main result, four rows summarize the conversion:
| Row | What it shows | Where it comes from |
|---|---|---|
| Time Difference | 15 hours or 16 hours | Same custom DST window that picks the Pacific offset |
| UTC Offset (PST) | -7 or -8 | The offset the code actually used |
| UTC Offset (HKT) | +8 | Fixed in the code |
| DST Status | PST, PDT, or "DST awareness disabled" | Same custom window plus the checkbox state |
The two formatted rows at the bottom of the card repeat both times with their weekday, full date, and zone label. The live clocks above the note refresh every second from the browser's own clock and use the IANA identifiers; they ignore the typed moment.
Worked examples
The PST to HKT Converter examples below follow the calculator's actual input and output path.
Both examples use dates that sit clearly outside the March and November boundary dates, so the custom window's exact hour does not affect the result.
January 15, 2025, 9:00 AM Pacific to Hong Kong
- Parsed values: year 2025, month index 0, day 15, hour 9, minute 0.
- January 15 is before the March start, so the offset used is UTC-8.
Date.UTC(2025, 0, 15, 9 - (-8), 0)gives 17:00 UTC.- Hong Kong is UTC+8, so 17:00 UTC is 01:00 on January 16.
- The page prints 1:00 AM HKT, on Thu, Jan 16, 2025, with a 16-hour difference and DST status reading PST.
June 15, 2025, 9:00 AM Pacific to Hong Kong
- Parsed values: year 2025, month index 5, day 15, hour 9, minute 0.
- June 15 is inside the March-to-November window, so the offset used is UTC-7.
Date.UTC(2025, 5, 15, 9 - (-7), 0)gives 16:00 UTC.- Hong Kong is UTC+8, so 16:00 UTC is 00:00 on June 16.
- The page prints 12:00 AM HKT, on Mon, Jun 16, 2025, with a 15-hour difference and DST status reading PDT.
To try the same moments in the other direction, open the page, press Swap, and type the HKT hour shown above. The code will then use UTC+8 to build the timestamp and label the output with PST or PDT based on the same window.
Edge cases that trip people up
- Blank input: If either the date or time field is empty, the code calls the reset routine and the output shows the placeholder. Nothing is calculated.
- Malformed input: Values that cannot be parsed into a valid timestamp cause the code to throw. The catch block logs the error to the developer console and then runs the same reset routine.
- Daylight Saving Aware turned off: The offset is pinned to UTC-8 for every date, so a summer date will read one hour earlier than the real Pacific clock would.
- Boundary dates in March and November: Because the code builds its own window with a local-zone
new Date, the moment when the window switches can shift by the browser's local offset. A typed date right on those days may land on the side the window chooses, not the side a real Pacific clock would show at that same wall minute. - Show UTC Offset: This toggles the printed string (like
-8versus-08:00). It does not flip the sign of the offset or change which offset was used in the math. - Live clock versus result: The two live rows always show the current time. They can disagree with a typed historical or future moment even when the same zone is shown.
- Input time field: The parser only reads the first two digits as the hour and the next two as the minute. Seconds entered in the browser's native time picker are ignored by the conversion on the next run.
PST and HKT when you need this tool with the PST to HKT Converter
This page is built for the Pacific and Hong Kong pair. If you also move between Pacific Time and other zones, the BST to PST converter, the AEST to PST converter, and the CDT to PST converter each cover a different starting zone, and none of them is guaranteed to share this page's custom DST window. The Hong Kong side is stable, so the variable in almost every conversion is the Pacific offset. When you plan across weeks or months, check the DST Status row on each planned date instead of assuming the current answer still holds. The IANA Time Zone Database records representative location-based civil-time rules and changes over time, and NIST explains United States daylight-saving transitions; this page reimplements a simplified version of those rules in its own JavaScript.
Frequently asked questions about PST to HKT Converter
What is the default time zone in the converter?
The input dropdown starts on Pacific Time, so the date and time you type are first read as Pacific numbers. You can switch the dropdown to Hong Kong Time or press Swap to treat your input as HKT.
Does the HKT side of this conversion ever change for daylight saving?
No. The code always assigns UTC+8 to Hong Kong Time. There is no daylight-saving branch for HKT in the arithmetic, and the HKT offset row never changes.
What happens if I leave the date or time field blank?
The conversion routine exits and returns the display to its placeholder state. Nothing is calculated and no error is thrown for blank fields.
How does the Swap button change which zone is treated as input?
Swap flips the input dropdown between Pacific Time and Hong Kong Time, updates the on-screen zone headings, and reruns the conversion if a result was already shown. After swapping, the typed numbers are interpreted using the newly selected zone's offset rule.
Read next: 25 Facts About Daylight Saving Time