Pacific/Niue

Поточний місцевий час і дата в часовому поясі Pacific/Niue.

UTC-11:00

Loading...
Loading...

Профіль часового поясу

Зсув-11:00
Перехід на літній часНедоступно
Часовий пояс IANAPacific/Niue

Основною країною, яка використовує часовий пояс Pacific/Niue, є 🇳🇺 Ніуе.

Стандартний час Доступно

-11

UTC

Перехід на літній час
Перехід на літній час не застосовується

Стандарти форматування дати й часу

Таблиця надає порівняння різних стандартів форматування дати й часу. Кожен рядок представляє окремий стандарт формату, такий як ATOM, COOKIE, ISO, RFC та інші.
Формат
Дата і час
ATOM2025-12-30T21:30:56.054-11:00
COOKIETue, 30 Dec 2025 21:30:56 -1100
HTTPWed, 31 Dec 2025 08:30:56 GMT
ISO2025-12-30T21:30:56.054-11:00
ISO 86012025-12-30T21:30:56.054-11:00
MM-dd-yyyy HH:mm:ss12-30-2025 21:30:56
MongoDB2025-12-31T08:30:56.054Z
MySQL DATETIME2025-12-30 21:30:56
RFC 1036Tue, 30 Dec 25 21:30:56 -1100
RFC 1123Tue, 30 Dec 2025 21:30:56 -1100
RFC 2822Tue, 30 Dec 2025 21:30:56 -1100
RFC 33392025-12-30T21:30:56-1100
RFC 7231Tue, 30 Dec 2025 21:30:56 GMT-11
RFC 822Tue, 30 Dec 25 21:30:56 -1100
RFC 850Tuesday, 30-Dec-25 21:30:56 GMT-11
RSSTue, 30 Dec 2025 21:30:56 -1100
SQL2025-12-30 21:30:56.054 -11:00
SQL Time21:30:56.054 -11:00
UTC2025-12-31T08:30:56.054Z
Unix Epoch1767169856
W3C2025-12-30T21:30:56-11:00
dd-MM-yyyy HH:mm:ss30-12-2025 21:30:56
yyyy-dd-MM HH:mm:ss2025-30-12 21:30:56
yyyy-dd-MM hh:mm:ss a2025-30-12 09:30:56 PM

Пов’язані часові пояси

Таблиця зі списком часових поясів з однаковим часовим зсувом, включно з назвами та скороченнями часових поясів.

У таблиці є 6 часових поясів.
Часовий пояс IANA
Назва зсуву
Скорочення
Etc/GMT+11GMT-11:00GMT-11
Pacific/Midwayза стандартним часом на острові СамоаGMT-11
Pacific/Niueза часом на острові НіуеGMT-11
Pacific/Pago_Pagoза стандартним часом на острові СамоаGMT-11
Pacific/Samoaза стандартним часом на острові СамоаGMT-11
US/Samoaза стандартним часом на острові СамоаGMT-11

Для розробників

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