America/Anchorage

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

UTC-08:00

Loading...
Loading...

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

Зсув-08:00
Літній часДоступно
Часовий пояс IANAAmerica/Anchorage

Основною країною, яка використовує часовий пояс America/Anchorage, є 🇺🇸 Сполучені Штати.

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

Таблиця надає порівняння різних стандартів форматування дати та часу поруч. Кожен рядок представляє унікальний стандарт формату, такий як ATOM, COOKIE, ISO та RFC серед інших.
Формат
Дата та час
ATOM2025-10-13T23:46:07.217-08:00
COOKIEMon, 13 Oct 2025 23:46:07 -0800
HTTPTue, 14 Oct 2025 07:46:07 GMT
ISO2025-10-13T23:46:07.217-08:00
ISO 86012025-10-13T23:46:07.217-08:00
MM-dd-yyyy HH:mm:ss10-13-2025 23:46:07
MongoDB2025-10-14T07:46:07.217Z
MySQL DATETIME2025-10-13 23:46:07
RFC 1036Mon, 13 Oct 25 23:46:07 -0800
RFC 1123Mon, 13 Oct 2025 23:46:07 -0800
RFC 2822Mon, 13 Oct 2025 23:46:07 -0800
RFC 33392025-10-13T23:46:07-0800
RFC 7231Mon, 13 Oct 2025 23:46:07 AKDT
RFC 822Mon, 13 Oct 25 23:46:07 -0800
RFC 850Monday, 13-Oct-25 23:46:07 AKDT
RSSMon, 13 Oct 2025 23:46:07 -0800
SQL2025-10-13 23:46:07.217 -08:00
SQL Time23:46:07.217 -08:00
UTC2025-10-14T07:46:07.217Z
Unix Epoch1760427967
W3C2025-10-13T23:46:07-08:00
dd-MM-yyyy HH:mm:ss13-10-2025 23:46:07
yyyy-dd-MM HH:mm:ss2025-13-10 23:46:07
yyyy-dd-MM hh:mm:ss a2025-13-10 11:46:07 PM

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

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

В таблиці 9 часових поясів.
Часовий пояс IANA
Назва зсуву
Абр
America/Anchorageза літнім часом на АлясціGMT-8
America/Juneauза літнім часом на АлясціGMT-8
America/Metlakatlaза літнім часом на АлясціGMT-8
America/Nomeза літнім часом на АлясціGMT-8
America/Sitkaза літнім часом на АлясціGMT-8
America/Yakutatза літнім часом на АлясціGMT-8
Etc/GMT+8GMT-08:00GMT-8
Pacific/Pitcairnза часом на островах ПіткернGMT-8
US/Alaskaза літнім часом на АлясціGMT-8

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

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('America/Anchorage');

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