Pacific/Kanton

Поточний час і дата зараз у часовому поясі Pacific/Kanton.

UTC+13:00

Loading...
Loading...

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

Зсув+13:00
Літній часНе доступно
Часовий пояс IANAPacific/Kanton

Основною країною, яка використовує часовий пояс Pacific/Kanton, є 🇰🇮 Кірібаті.

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

+13

UTC

Літній час
Літній час не застосовується

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

Таблиця надає порівняння різних стандартів форматування дати та часу поруч. Кожен рядок представляє унікальний стандарт формату, такий як ATOM, COOKIE, ISO та RFC серед інших.
Формат
Дата та час
ATOM2025-05-09T20:28:09.003+13:00
COOKIEFri, 09 May 2025 20:28:09 +1300
HTTPFri, 09 May 2025 07:28:09 GMT
ISO2025-05-09T20:28:09.003+13:00
ISO 86012025-05-09T20:28:09.003+13:00
MM-dd-yyyy HH:mm:ss05-09-2025 20:28:09
MongoDB2025-05-09T07:28:09.003Z
MySQL DATETIME2025-05-09 20:28:09
RFC 1036Fri, 09 May 25 20:28:09 +1300
RFC 1123Fri, 09 May 2025 20:28:09 +1300
RFC 2822Fri, 09 May 2025 20:28:09 +1300
RFC 33392025-05-09T20:28:09+1300
RFC 7231Fri, 09 May 2025 20:28:09 GMT+13
RFC 822Fri, 09 May 25 20:28:09 +1300
RFC 850Friday, 09-May-25 20:28:09 GMT+13
RSSFri, 09 May 2025 20:28:09 +1300
SQL2025-05-09 20:28:09.003 +13:00
SQL Time20:28:09.003 +13:00
UTC2025-05-09T07:28:09.003Z
Unix Epoch1746775689
W3C2025-05-09T20:28:09+13:00
dd-MM-yyyy HH:mm:ss09-05-2025 20:28:09
yyyy-dd-MM HH:mm:ss2025-09-05 20:28:09
yyyy-dd-MM hh:mm:ss a2025-09-05 08:28:09 PM

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

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

В таблиці 6 часових поясів.
Часовий пояс IANA
Назва зсуву
Абр
Etc/GMT-13GMT+13:00GMT+13
Pacific/Apiaза стандартним часом в АпіаGMT+13
Pacific/Enderburyза часом на островах ФеніксGMT+13
Pacific/Fakaofoза часом на островах ТокелауGMT+13
Pacific/Kantonза часом на островах ФеніксGMT+13
Pacific/Tongatapuза стандартним часом на островах ТонгаGMT+13

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

php


<?php

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

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