Pacific/Chatham

Ora și data locală curente în fusul orar Pacific/Chatham.

UTC+12:45

Loading...
Loading...

Profil de fus orar

Decalaj+12:45
Fus orar IANAPacific/Chatham
Ora de varăIndisponibil

Țara principală care folosește fusul orar Pacific/Chatham este 🇳🇿 Noua Zeelandă.

Ora de vară

+1345

Ora standard Disponibil

+1245

Standarde de format pentru dată și oră

Tabelul oferă o comparație alăturată a diferitelor standarde de format pentru dată și oră. Fiecare rând reprezintă un standard de format distinct, precum ATOM, COOKIE, ISO și RFC, printre altele.
Format
Data și ora
ATOM2026-08-08T02:00:33.744+12:45
COOKIESat, 08 Aug 2026 02:00:33 +1245
HTTPFri, 07 Aug 2026 13:15:33 GMT
ISO2026-08-08T02:00:33.744+12:45
ISO 86012026-08-08T02:00:33.744+12:45
MM-dd-yyyy HH:mm:ss08-08-2026 02:00:33
MongoDB2026-08-07T13:15:33.744Z
MySQL DATETIME2026-08-08 02:00:33
RFC 1036Sat, 08 Aug 26 02:00:33 +1245
RFC 1123Sat, 08 Aug 2026 02:00:33 +1245
RFC 2822Sat, 08 Aug 2026 02:00:33 +1245
RFC 33392026-08-08T02:00:33+1245
RFC 7231Sat, 08 Aug 2026 02:00:33 GMT+12:45
RFC 822Sat, 08 Aug 26 02:00:33 +1245
RFC 850Saturday, 08-Aug-26 02:00:33 GMT+12:45
RSSSat, 08 Aug 2026 02:00:33 +1245
SQL2026-08-08 02:00:33.744 +12:45
SQL Time02:00:33.744 +12:45
UTC2026-08-07T13:15:33.744Z
Unix Epoch1786108533
W3C2026-08-08T02:00:33+12:45
dd-MM-yyyy HH:mm:ss08-08-2026 02:00:33
yyyy-dd-MM HH:mm:ss2026-08-08 02:00:33
yyyy-dd-MM hh:mm:ss a2026-08-08 02:00:33 AM

Fusuri orare asociate

Un tabel cu o listă de fusuri orare care au același decalaj. Include denumirea și abrevierile fusului orar.

Sunt 2 fusuri orare în tabel.
Fus orar IANA
Denumire decalaj
Abbr
NZ-CHATOra standard din ChathamGMT+12:45
Pacific/ChathamOra standard din ChathamGMT+12:45

Pentru dezvoltatori

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