America/Whitehorse

เวลาและวันที่ท้องถิ่นปัจจุบันในเขตเวลา America/Whitehorse

UTC-07:00

Loading...
Loading...

โปรไฟล์เขตเวลา

ออฟเซ็ต-07:00
เขตเวลา IANAAmerica/Whitehorse
เวลาออมแสงไม่พร้อมใช้งาน

ประเทศที่ใช้เขตเวลา America/Whitehorse คือ 🇨🇦 แคนาดา

UTC

เวลาออมแสง
ไม่ใช้เวลาออมแสง

มาตรฐานรูปแบบวันที่และเวลา

ตารางนี้แสดงการเปรียบเทียบมาตรฐานรูปแบบวันที่และเวลาแบบเคียงข้างกัน แต่ละแถวแทนมาตรฐานรูปแบบที่แตกต่างกัน เช่น ATOM, COOKIE, ISO และ RFC เป็นต้น
รูปแบบ
วันที่และเวลา
ATOM2026-04-20T01:58:01.534-07:00
COOKIEMon, 20 Apr 2026 01:58:01 -0700
HTTPMon, 20 Apr 2026 08:58:01 GMT
ISO2026-04-20T01:58:01.534-07:00
ISO 86012026-04-20T01:58:01.534-07:00
MM-dd-yyyy HH:mm:ss04-20-2026 01:58:01
MongoDB2026-04-20T08:58:01.534Z
MySQL DATETIME2026-04-20 01:58:01
RFC 1036Mon, 20 Apr 26 01:58:01 -0700
RFC 1123Mon, 20 Apr 2026 01:58:01 -0700
RFC 2822Mon, 20 Apr 2026 01:58:01 -0700
RFC 33392026-04-20T01:58:01-0700
RFC 7231Mon, 20 Apr 2026 01:58:01 GMT-7
RFC 822Mon, 20 Apr 26 01:58:01 -0700
RFC 850Monday, 20-Apr-26 01:58:01 GMT-7
RSSMon, 20 Apr 2026 01:58:01 -0700
SQL2026-04-20 01:58:01.534 -07:00
SQL Time01:58:01.534 -07:00
UTC2026-04-20T08:58:01.534Z
Unix Epoch1776675481
W3C2026-04-20T01:58:01-07:00
dd-MM-yyyy HH:mm:ss20-04-2026 01:58:01
yyyy-dd-MM HH:mm:ss2026-20-04 01:58:01
yyyy-dd-MM hh:mm:ss a2026-20-04 01:58:01 AM

เขตเวลาที่เกี่ยวข้อง

ตารางรายชื่อเขตเวลาที่มีออฟเซ็ตเวลาเดียวกัน รวมถึงชื่อและตัวย่อเขตเวลา

มีเขตเวลา 22 รายการในตาราง
เขตเวลา IANA
ชื่อออฟเซ็ต
ตัวย่อ
America/CrestonเวลามาตรฐานแถบภูเขาในอเมริกาเหนือGMT-7
America/DawsonเวลายูคอนGMT-7
America/Dawson_CreekเวลามาตรฐานแถบภูเขาในอเมริกาเหนือGMT-7
America/EnsenadaเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
America/Fort_NelsonเวลามาตรฐานแถบภูเขาในอเมริกาเหนือGMT-7
America/Hermosilloเวลามาตรฐานแปซิฟิกเม็กซิโกGMT-7
America/Los_AngelesเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
America/Mazatlanเวลามาตรฐานแปซิฟิกเม็กซิโกGMT-7
America/PhoenixเวลามาตรฐานแถบภูเขาในอเมริกาเหนือGMT-7
America/Santa_IsabelเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
America/TijuanaเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
America/VancouverเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
America/WhitehorseเวลายูคอนGMT-7
Canada/PacificเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
Canada/YukonเวลายูคอนGMT-7
Etc/GMT+7GMT-07:00GMT-7
MSTเวลามาตรฐานแถบภูเขาในอเมริกาเหนือGMT-7
Mexico/BajaNorteเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
Mexico/BajaSurเวลามาตรฐานแปซิฟิกเม็กซิโกGMT-7
PST8PDTเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7
US/ArizonaเวลามาตรฐานแถบภูเขาในอเมริกาเหนือGMT-7
US/PacificเวลาออมแสงแปซิฟิกในอเมริกาเหนือGMT-7

สำหรับนักพัฒนา

php


<?php

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

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