Pacific/Chatham

L’heure et la date locales actuelles dans le fuseau horaire Pacific/Chatham.

UTC+12:45

Loading...
Loading...

Profil du fuseau horaire

Décalage+12:45
Fuseau horaire IANAPacific/Chatham
Heure d’étéNon disponible

Le pays principal qui utilise le fuseau horaire Pacific/Chatham est 🇳🇿 Nouvelle-Zélande.

Heure d’été

+1345

Heure standard Disponible

+1245

Standards de format de date et d’heure

Le tableau fournit une comparaison côte à côte de différents standards de format de date et d’heure. Chaque ligne représente un standard de format unique tel que ATOM, COOKIE, ISO et RFC, entre autres.
Format
Date et heure
ATOM2026-05-09T12:19:52.449+12:45
COOKIESat, 09 May 2026 12:19:52 +1245
HTTPFri, 08 May 2026 23:34:52 GMT
ISO2026-05-09T12:19:52.449+12:45
ISO 86012026-05-09T12:19:52.449+12:45
MM-dd-yyyy HH:mm:ss05-09-2026 12:19:52
MongoDB2026-05-08T23:34:52.449Z
MySQL DATETIME2026-05-09 12:19:52
RFC 1036Sat, 09 May 26 12:19:52 +1245
RFC 1123Sat, 09 May 2026 12:19:52 +1245
RFC 2822Sat, 09 May 2026 12:19:52 +1245
RFC 33392026-05-09T12:19:52+1245
RFC 7231Sat, 09 May 2026 12:19:52 GMT+12:45
RFC 822Sat, 09 May 26 12:19:52 +1245
RFC 850Saturday, 09-May-26 12:19:52 GMT+12:45
RSSSat, 09 May 2026 12:19:52 +1245
SQL2026-05-09 12:19:52.449 +12:45
SQL Time12:19:52.449 +12:45
UTC2026-05-08T23:34:52.449Z
Unix Epoch1778283292
W3C2026-05-09T12:19:52+12:45
dd-MM-yyyy HH:mm:ss09-05-2026 12:19:52
yyyy-dd-MM HH:mm:ss2026-09-05 12:19:52
yyyy-dd-MM hh:mm:ss a2026-09-05 12:19:52 PM

Fuseaux horaires associés

Un tableau avec une liste de fuseaux horaires qui ont le même décalage. Inclut le nom et les abréviations de fuseau horaire.

Il y a 2 fuseaux horaires dans le tableau.
Fuseau horaire IANA
Nom du décalage
Abbr
NZ-CHATheure normale des îles ChathamUTC+12:45
Pacific/Chathamheure normale des îles ChathamUTC+12:45

Pour les développeurs

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