UTC-09:30
Loading...
Loading...
โปรไฟล์เขตเวลา
| ออฟเซ็ต | -09:30 |
|---|---|
| เขตเวลา IANA | Pacific/Marquesas |
| เวลาออมแสง | ไม่พร้อมใช้งาน |
ประเทศที่ใช้เขตเวลา Pacific/Marquesas คือ 🇵🇫 เฟรนช์โปลินีเซีย
UTC
เวลาออมแสง
ไม่ใช้เวลาออมแสง
มาตรฐานรูปแบบวันที่และเวลา
รูปแบบ | วันที่และเวลา |
|---|---|
| ATOM | 2026-02-06T23:42:40.788-09:30 |
| COOKIE | Fri, 06 Feb 2026 23:42:40 -0930 |
| HTTP | Sat, 07 Feb 2026 09:12:40 GMT |
| ISO | 2026-02-06T23:42:40.788-09:30 |
| ISO 8601 | 2026-02-06T23:42:40.788-09:30 |
| MM-dd-yyyy HH:mm:ss | 02-06-2026 23:42:40 |
| MongoDB | 2026-02-07T09:12:40.788Z |
| MySQL DATETIME | 2026-02-06 23:42:40 |
| RFC 1036 | Fri, 06 Feb 26 23:42:40 -0930 |
| RFC 1123 | Fri, 06 Feb 2026 23:42:40 -0930 |
| RFC 2822 | Fri, 06 Feb 2026 23:42:40 -0930 |
| RFC 3339 | 2026-02-06T23:42:40-0930 |
| RFC 7231 | Fri, 06 Feb 2026 23:42:40 GMT-9:30 |
| RFC 822 | Fri, 06 Feb 26 23:42:40 -0930 |
| RFC 850 | Friday, 06-Feb-26 23:42:40 GMT-9:30 |
| RSS | Fri, 06 Feb 2026 23:42:40 -0930 |
| SQL | 2026-02-06 23:42:40.788 -09:30 |
| SQL Time | 23:42:40.788 -09:30 |
| UTC | 2026-02-07T09:12:40.788Z |
| Unix Epoch | 1770455560 |
| W3C | 2026-02-06T23:42:40-09:30 |
| dd-MM-yyyy HH:mm:ss | 06-02-2026 23:42:40 |
| yyyy-dd-MM HH:mm:ss | 2026-06-02 23:42:40 |
| yyyy-dd-MM hh:mm:ss a | 2026-06-02 11:42:40 PM |
สำหรับนักพัฒนา
php
<?php
// Solution 1
// Set the default time zone
date_default_timezone_set('Pacific/Marquesas');
// Solution 2
// Use this to get the current date and time in the specified time zone.
$timezone = new DateTimeZone('Pacific/Marquesas');
// Create a new DateTime object
$date = new DateTime('now', $timezone);
// Print the current date and time
echo $date->format('Y-m-d H:i:s'); // 2023-01-01 00:00:00
python
# Solution 1
# Set the default time zone
from datetime import datetime
# Import the pytz module
import pytz
# Create a timezone object
tz = pytz.timezone("Pacific/Marquesas")
# Get the current time
time_now = datetime.now(tz)
# Format the current time
current_time = time_now.strftime("%H:%M:%S")
# Print the current time
print("The current time:", current_time) # The current time: 00:00:00
javascript
/*
* Solution 1
* Set the default time zone
*/
const date = new Date();
/*
* Use the toLocaleString() method to get the current date and time in the specified time zone.
*/
const currentTime = date.toLocaleString("en-us", {timeZone: "Pacific/Marquesas"});
/*
* Print the current date and time
*/
console.log(currentTime); // 1/1/2023, 12:00:00 AM