Pacific/Niue

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

UTC-11:00

Loading...
Loading...

Profil du fuseau horaire

Décalage-11:00
Fuseau horaire IANAPacific/Niue
Heure d’étéNon disponible

Le pays principal qui utilise le fuseau horaire Pacific/Niue est 🇳🇺 Niue.

Heure standard Disponible

-11

UTC

Heure d’été
L’heure d’été n’est pas appliquée

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
ATOM2025-12-23T16:36:29.478-11:00
COOKIETue, 23 Dec 2025 16:36:29 -1100
HTTPWed, 24 Dec 2025 03:36:29 GMT
ISO2025-12-23T16:36:29.478-11:00
ISO 86012025-12-23T16:36:29.478-11:00
MM-dd-yyyy HH:mm:ss12-23-2025 16:36:29
MongoDB2025-12-24T03:36:29.478Z
MySQL DATETIME2025-12-23 16:36:29
RFC 1036Tue, 23 Dec 25 16:36:29 -1100
RFC 1123Tue, 23 Dec 2025 16:36:29 -1100
RFC 2822Tue, 23 Dec 2025 16:36:29 -1100
RFC 33392025-12-23T16:36:29-1100
RFC 7231Tue, 23 Dec 2025 16:36:29 GMT-11
RFC 822Tue, 23 Dec 25 16:36:29 -1100
RFC 850Tuesday, 23-Dec-25 16:36:29 GMT-11
RSSTue, 23 Dec 2025 16:36:29 -1100
SQL2025-12-23 16:36:29.478 -11:00
SQL Time16:36:29.478 -11:00
UTC2025-12-24T03:36:29.478Z
Unix Epoch1766547389
W3C2025-12-23T16:36:29-11:00
dd-MM-yyyy HH:mm:ss23-12-2025 16:36:29
yyyy-dd-MM HH:mm:ss2025-23-12 16:36:29
yyyy-dd-MM hh:mm:ss a2025-23-12 04:36:29 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 6 fuseaux horaires dans le tableau.
Fuseau horaire IANA
Nom du décalage
Abbr
Etc/GMT+11UTC−11:00UTC−11
Pacific/Midwayheure normale des SamoaUTC−11
Pacific/Niueheure de NiueUTC−11
Pacific/Pago_Pagoheure normale des SamoaUTC−11
Pacific/Samoaheure normale des SamoaUTC−11
US/Samoaheure normale des SamoaUTC−11

Pour les développeurs

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('Pacific/Niue');

// Solution 2
// Use this to get the current date and time in the specified time zone.
$timezone = new DateTimeZone('Pacific/Niue');
// 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/Niue")
# 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/Niue"});
/* 
* Print the current date and time
*/
console.log(currentTime); // 1/1/2023, 12:00:00 AM