America/Mexico_City

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

UTC-06:00

Loading...
Loading...

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

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

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

UTC

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

日付と時刻の形式標準

この表では、さまざまな日付と時刻の形式標準を並べて比較できます。各行はATOM、COOKIE、ISO、RFCなどの固有の形式標準を表します。
形式
日付と時刻
ATOM2026-03-24T07:17:40.211-06:00
COOKIETue, 24 Mar 2026 07:17:40 -0600
HTTPTue, 24 Mar 2026 13:17:40 GMT
ISO2026-03-24T07:17:40.211-06:00
ISO 86012026-03-24T07:17:40.211-06:00
MM-dd-yyyy HH:mm:ss03-24-2026 07:17:40
MongoDB2026-03-24T13:17:40.211Z
MySQL DATETIME2026-03-24 07:17:40
RFC 1036Tue, 24 Mar 26 07:17:40 -0600
RFC 1123Tue, 24 Mar 2026 07:17:40 -0600
RFC 2822Tue, 24 Mar 2026 07:17:40 -0600
RFC 33392026-03-24T07:17:40-0600
RFC 7231Tue, 24 Mar 2026 07:17:40 CST
RFC 822Tue, 24 Mar 26 07:17:40 -0600
RFC 850Tuesday, 24-Mar-26 07:17:40 CST
RSSTue, 24 Mar 2026 07:17:40 -0600
SQL2026-03-24 07:17:40.211 -06:00
SQL Time07:17:40.211 -06:00
UTC2026-03-24T13:17:40.211Z
Unix Epoch1774358260
W3C2026-03-24T07:17:40-06:00
dd-MM-yyyy HH:mm:ss24-03-2026 07:17:40
yyyy-dd-MM HH:mm:ss2026-24-03 07:17:40
yyyy-dd-MM hh:mm:ss a2026-24-03 07:17:40 AM

関連タイムゾーン

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

表にはタイムゾーンが29件あります。
IANAタイムゾーン
オフセット名
略称
America/Bahia_Banderasアメリカ中部標準時GMT-6
America/Belizeアメリカ中部標準時GMT-6
America/Boiseアメリカ山地夏時間GMT-6
America/Cambridge_Bayアメリカ山地夏時間GMT-6
America/Chihuahuaアメリカ中部標準時GMT-6
America/Ciudad_Juarezアメリカ山地夏時間GMT-6
America/Costa_Ricaアメリカ中部標準時GMT-6
America/Denverアメリカ山地夏時間GMT-6
America/Edmontonアメリカ山地夏時間GMT-6
America/El_Salvadorアメリカ中部標準時GMT-6
America/Guatemalaアメリカ中部標準時GMT-6
America/Inuvikアメリカ山地夏時間GMT-6
America/Managuaアメリカ中部標準時GMT-6
America/Meridaアメリカ中部標準時GMT-6
America/Mexico_Cityアメリカ中部標準時GMT-6
America/Monterreyアメリカ中部標準時GMT-6
America/Reginaアメリカ中部標準時GMT-6
America/Shiprockアメリカ山地夏時間GMT-6
America/Swift_Currentアメリカ中部標準時GMT-6
America/Tegucigalpaアメリカ中部標準時GMT-6
America/Yellowknifeアメリカ山地夏時間GMT-6
Canada/Mountainアメリカ山地夏時間GMT-6
Canada/Saskatchewanアメリカ中部標準時GMT-6
Etc/GMT+6GMT-06:00GMT-6
MST7MDTアメリカ山地夏時間GMT-6
Mexico/Generalアメリカ中部標準時GMT-6
Navajoアメリカ山地夏時間GMT-6
Pacific/Galapagosガラパゴス時間GMT-6
US/Mountainアメリカ山地夏時間GMT-6

開発者向け

php


<?php

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

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