UTC+12:45
Loading...
Loading...
시간대 프로필
| IANA 시간대 | Pacific/Chatham |
|---|---|
| 오프셋 | +12:45 |
| 일광 절약 시간제 | 사용 불가 |
Pacific/Chatham 시간대를 사용하는 국가는 🇳🇿 뉴질랜드입니다.
날짜 및 시간 형식 표준
형식 | 날짜 및 시간 |
|---|---|
| ATOM | 2026-05-10T12:55:26.981+12:45 |
| COOKIE | Sun, 10 May 2026 12:55:26 +1245 |
| HTTP | Sun, 10 May 2026 00:10:26 GMT |
| ISO | 2026-05-10T12:55:26.981+12:45 |
| ISO 8601 | 2026-05-10T12:55:26.981+12:45 |
| MM-dd-yyyy HH:mm:ss | 05-10-2026 12:55:26 |
| MongoDB | 2026-05-10T00:10:26.981Z |
| MySQL DATETIME | 2026-05-10 12:55:26 |
| RFC 1036 | Sun, 10 May 26 12:55:26 +1245 |
| RFC 1123 | Sun, 10 May 2026 12:55:26 +1245 |
| RFC 2822 | Sun, 10 May 2026 12:55:26 +1245 |
| RFC 3339 | 2026-05-10T12:55:26+1245 |
| RFC 7231 | Sun, 10 May 2026 12:55:26 GMT+12:45 |
| RFC 822 | Sun, 10 May 26 12:55:26 +1245 |
| RFC 850 | Sunday, 10-May-26 12:55:26 GMT+12:45 |
| RSS | Sun, 10 May 2026 12:55:26 +1245 |
| SQL | 2026-05-10 12:55:26.981 +12:45 |
| SQL Time | 12:55:26.981 +12:45 |
| UTC | 2026-05-10T00:10:26.981Z |
| Unix Epoch | 1778371826 |
| W3C | 2026-05-10T12:55:26+12:45 |
| dd-MM-yyyy HH:mm:ss | 10-05-2026 12:55:26 |
| yyyy-dd-MM HH:mm:ss | 2026-10-05 12:55:26 |
| yyyy-dd-MM hh:mm:ss a | 2026-10-05 12:55:26 PM |
관련 시간대
동일한 시간 오프셋을 가진 시간대 목록 표입니다. 시간대 이름과 약어가 포함됩니다.
IANA 시간대 | 오프셋 이름 | 약어 |
|---|---|---|
| NZ-CHAT | 채텀 표준시 | GMT+12:45 |
| Pacific/Chatham | 채텀 표준시 | GMT+12:45 |
개발자용
php
<?php
// Solution 1
// Set the default time zone
date_default_timezone_set('Pacific/Chatham');
// Solution 2
// Use this to get the current date and time in the specified time zone.
$timezone = new DateTimeZone('Pacific/Chatham');
// 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/Chatham")
# 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/Chatham"});
/*
* Print the current date and time
*/
console.log(currentTime); // 1/1/2023, 12:00:00 AM