America/Cancun

America/Cancunタイムゾーンの現在の現地時刻と日付。

UTC-05:00

Loading...
Loading...

タイムゾーンプロファイル

IANAタイムゾーンAmerica/Cancun
オフセット-05:00
サマータイム利用不可

タイムゾーンAmerica/Cancunを使用している国は🇲🇽 メキシコです。

UTC

サマータイム
サマータイムは実施されていません

日付と時刻の形式標準

この表では、さまざまな日付と時刻の形式標準を並べて比較できます。各行はATOM、COOKIE、ISO、RFCなどの固有の形式標準を表します。
形式
日付と時刻
ATOM2026-07-21T08:58:18.816-05:00
COOKIETue, 21 Jul 2026 08:58:18 -0500
HTTPTue, 21 Jul 2026 13:58:18 GMT
ISO2026-07-21T08:58:18.816-05:00
ISO 86012026-07-21T08:58:18.816-05:00
MM-dd-yyyy HH:mm:ss07-21-2026 08:58:18
MongoDB2026-07-21T13:58:18.816Z
MySQL DATETIME2026-07-21 08:58:18
RFC 1036Tue, 21 Jul 26 08:58:18 -0500
RFC 1123Tue, 21 Jul 2026 08:58:18 -0500
RFC 2822Tue, 21 Jul 2026 08:58:18 -0500
RFC 33392026-07-21T08:58:18-0500
RFC 7231Tue, 21 Jul 2026 08:58:18 EST
RFC 822Tue, 21 Jul 26 08:58:18 -0500
RFC 850Tuesday, 21-Jul-26 08:58:18 EST
RSSTue, 21 Jul 2026 08:58:18 -0500
SQL2026-07-21 08:58:18.816 -05:00
SQL Time08:58:18.816 -05:00
UTC2026-07-21T13:58:18.816Z
Unix Epoch1784642298
W3C2026-07-21T08:58:18-05:00
dd-MM-yyyy HH:mm:ss21-07-2026 08:58:18
yyyy-dd-MM HH:mm:ss2026-21-07 08:58:18
yyyy-dd-MM hh:mm:ss a2026-21-07 08:58:18 AM

関連タイムゾーン

同じ時刻オフセットを持つタイムゾーンの一覧表です。名称とタイムゾーン略称を含みます。

表にはタイムゾーンが34件あります。
IANAタイムゾーン
オフセット名
略称
America/Atikokan米国東部標準時GMT-5
America/Bogotaコロンビア標準時GMT-5
America/Cancun米国東部標準時GMT-5
America/Cayman米国東部標準時GMT-5
America/Chicago米国中部夏時間GMT-5
America/Coral_Harbour米国東部標準時GMT-5
America/Eirunepeアクレ標準時GMT-5
America/Guayaquilエクアドル時間GMT-5
America/Indiana/Knox米国中部夏時間GMT-5
America/Indiana/Tell_City米国中部夏時間GMT-5
America/Jamaica米国東部標準時GMT-5
America/Knox_IN米国中部夏時間GMT-5
America/Limaペルー標準時GMT-5
America/Matamoros米国中部夏時間GMT-5
America/Menominee米国中部夏時間GMT-5
America/North_Dakota/Beulah米国中部夏時間GMT-5
America/North_Dakota/Center米国中部夏時間GMT-5
America/North_Dakota/New_Salem米国中部夏時間GMT-5
America/Ojinaga米国中部夏時間GMT-5
America/Panama米国東部標準時GMT-5
America/Porto_Acreアクレ標準時GMT-5
America/Rainy_River米国中部夏時間GMT-5
America/Rankin_Inlet米国中部夏時間GMT-5
America/Resolute米国中部夏時間GMT-5
America/Rio_Brancoアクレ標準時GMT-5
America/Winnipeg米国中部夏時間GMT-5
Brazil/Acreアクレ標準時GMT-5
CST6CDT米国中部夏時間GMT-5
Canada/Central米国中部夏時間GMT-5
EST米国東部標準時GMT-5
Etc/GMT+5GMT-05:00GMT-5
Jamaica米国東部標準時GMT-5
US/Central米国中部夏時間GMT-5
US/Indiana-Starke米国中部夏時間GMT-5

開発者向け

php


<?php

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

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