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-08-08T02:00:36.045+12:45
COOKIESat, 08 Aug 2026 02:00:36 +1245
HTTPFri, 07 Aug 2026 13:15:36 GMT
ISO2026-08-08T02:00:36.045+12:45
ISO 86012026-08-08T02:00:36.045+12:45
MM-dd-yyyy HH:mm:ss08-08-2026 02:00:36
MongoDB2026-08-07T13:15:36.045Z
MySQL DATETIME2026-08-08 02:00:36
RFC 1036Sat, 08 Aug 26 02:00:36 +1245
RFC 1123Sat, 08 Aug 2026 02:00:36 +1245
RFC 2822Sat, 08 Aug 2026 02:00:36 +1245
RFC 33392026-08-08T02:00:36+1245
RFC 7231Sat, 08 Aug 2026 02:00:36 GMT+12:45
RFC 822Sat, 08 Aug 26 02:00:36 +1245
RFC 850Saturday, 08-Aug-26 02:00:36 GMT+12:45
RSSSat, 08 Aug 2026 02:00:36 +1245
SQL2026-08-08 02:00:36.045 +12:45
SQL Time02:00:36.045 +12:45
UTC2026-08-07T13:15:36.045Z
Unix Epoch1786108536
W3C2026-08-08T02:00:36+12:45
dd-MM-yyyy HH:mm:ss08-08-2026 02:00:36
yyyy-dd-MM HH:mm:ss2026-08-08 02:00:36
yyyy-dd-MM hh:mm:ss a2026-08-08 02:00:36 AM

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