America/Ojinaga

La fecha y hora locales actuales en la zona horaria America/Ojinaga.

UTC-05:00

Loading...
Loading...

Perfil de zona horaria

Desplazamiento-05:00
Horario de veranoDisponible
Zona horaria IANAAmerica/Ojinaga

El principal país que usa la zona horaria America/Ojinaga es 🇲🇽 México.

Estándares de formato de fecha y hora

La tabla ofrece una comparación lado a lado de distintos estándares de formato de fecha y hora. Cada fila representa un estándar único, como ATOM, COOKIE, ISO y RFC, entre otros.
Format
Fecha y hora
ATOM2026-05-08T08:10:38.177-05:00
COOKIEFri, 08 May 2026 08:10:38 -0500
HTTPFri, 08 May 2026 13:10:38 GMT
ISO2026-05-08T08:10:38.177-05:00
ISO 86012026-05-08T08:10:38.177-05:00
MM-dd-yyyy HH:mm:ss05-08-2026 08:10:38
MongoDB2026-05-08T13:10:38.177Z
MySQL DATETIME2026-05-08 08:10:38
RFC 1036Fri, 08 May 26 08:10:38 -0500
RFC 1123Fri, 08 May 2026 08:10:38 -0500
RFC 2822Fri, 08 May 2026 08:10:38 -0500
RFC 33392026-05-08T08:10:38-0500
RFC 7231Fri, 08 May 2026 08:10:38 CDT
RFC 822Fri, 08 May 26 08:10:38 -0500
RFC 850Friday, 08-May-26 08:10:38 CDT
RSSFri, 08 May 2026 08:10:38 -0500
SQL2026-05-08 08:10:38.177 -05:00
SQL Time08:10:38.177 -05:00
UTC2026-05-08T13:10:38.177Z
Unix Epoch1778245838
W3C2026-05-08T08:10:38-05:00
dd-MM-yyyy HH:mm:ss08-05-2026 08:10:38
yyyy-dd-MM HH:mm:ss2026-08-05 08:10:38
yyyy-dd-MM hh:mm:ss a2026-08-05 08:10:38 AM

Zonas horarias relacionadas

Tabla con una lista de zonas horarias que tienen el mismo desplazamiento. Incluye nombre y abreviaturas de zona horaria.

Hay 34 zonas horarias en la tabla.
Zona horaria IANA
Nombre del desplazamiento
Abrev.
America/Atikokanhora estándar orientalGMT-5
America/Bogotahora estándar de ColombiaGMT-5
America/Cancunhora estándar orientalGMT-5
America/Caymanhora estándar orientalGMT-5
America/Chicagohora de verano centralGMT-5
America/Coral_Harbourhora estándar orientalGMT-5
America/EirunepeHora estándar de AcreGMT-5
America/Guayaquilhora de EcuadorGMT-5
America/Indiana/Knoxhora de verano centralGMT-5
America/Indiana/Tell_Cityhora de verano centralGMT-5
America/Jamaicahora estándar orientalGMT-5
America/Knox_INhora de verano centralGMT-5
America/Limahora estándar de PerúGMT-5
America/Matamoroshora de verano centralGMT-5
America/Menomineehora de verano centralGMT-5
America/North_Dakota/Beulahhora de verano centralGMT-5
America/North_Dakota/Centerhora de verano centralGMT-5
America/North_Dakota/New_Salemhora de verano centralGMT-5
America/Ojinagahora de verano centralGMT-5
America/Panamahora estándar orientalGMT-5
America/Porto_AcreHora estándar de AcreGMT-5
America/Rainy_Riverhora de verano centralGMT-5
America/Rankin_Inlethora de verano centralGMT-5
America/Resolutehora de verano centralGMT-5
America/Rio_BrancoHora estándar de AcreGMT-5
America/Winnipeghora de verano centralGMT-5
Brazil/AcreHora estándar de AcreGMT-5
CST6CDThora de verano centralGMT-5
Canada/Centralhora de verano centralGMT-5
ESThora estándar orientalGMT-5
Etc/GMT+5GMT-05:00GMT-5
Jamaicahora estándar orientalGMT-5
US/Centralhora de verano centralGMT-5
US/Indiana-Starkehora de verano centralGMT-5

Para desarrolladores

php


<?php

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

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