America/Indiana/Knox

L'ora e la data locali correnti nel fuso orario America/Indiana/Knox.

UTC-05:00

Loading...
Loading...

Profilo del fuso orario

Fuso orario IANAAmerica/Indiana/Knox
Offset-05:00
Ora legaleDisponibile

Il paese principale che utilizza il fuso orario America/Indiana/Knox è 🇺🇸 Stati Uniti.

Standard di formato di data e ora

La tabella fornisce un confronto affiancato di diversi standard di formato di data e ora. Ogni riga rappresenta uno standard di formato univoco come ATOM, COOKIE, ISO e RFC, tra gli altri.
Formato
Data e ora
ATOM2026-03-24T12:01:00.953-05:00
COOKIETue, 24 Mar 2026 12:01:00 -0500
HTTPTue, 24 Mar 2026 17:01:00 GMT
ISO2026-03-24T12:01:00.953-05:00
ISO 86012026-03-24T12:01:00.953-05:00
MM-dd-yyyy HH:mm:ss03-24-2026 12:01:00
MongoDB2026-03-24T17:01:00.953Z
MySQL DATETIME2026-03-24 12:01:00
RFC 1036Tue, 24 Mar 26 12:01:00 -0500
RFC 1123Tue, 24 Mar 2026 12:01:00 -0500
RFC 2822Tue, 24 Mar 2026 12:01:00 -0500
RFC 33392026-03-24T12:01:00-0500
RFC 7231Tue, 24 Mar 2026 12:01:00 CDT
RFC 822Tue, 24 Mar 26 12:01:00 -0500
RFC 850Tuesday, 24-Mar-26 12:01:00 CDT
RSSTue, 24 Mar 2026 12:01:00 -0500
SQL2026-03-24 12:01:00.953 -05:00
SQL Time12:01:00.953 -05:00
UTC2026-03-24T17:01:00.953Z
Unix Epoch1774371660
W3C2026-03-24T12:01:00-05:00
dd-MM-yyyy HH:mm:ss24-03-2026 12:01:00
yyyy-dd-MM HH:mm:ss2026-24-03 12:01:00
yyyy-dd-MM hh:mm:ss a2026-24-03 12:01:00 PM

Fusi orari correlati

Una tabella con un elenco di fusi orari che hanno lo stesso offset. Include nome e abbreviazioni del fuso orario.

Ci sono 36 fusi orari nella tabella.
Fuso orario IANA
Nome offset
Abbr
America/AtikokanOra standard orientale USAGMT-5
America/BogotaOra standard della ColombiaGMT-5
America/CancunOra standard orientale USAGMT-5
America/CaymanOra standard orientale USAGMT-5
America/ChicagoOra legale centrale USAGMT-5
America/Coral_HarbourOra standard orientale USAGMT-5
America/EirunepeGMT-05:00GMT-5
America/GuayaquilOra dell’EcuadorGMT-5
America/Indiana/KnoxOra legale centrale USAGMT-5
America/Indiana/Tell_CityOra legale centrale USAGMT-5
America/JamaicaOra standard orientale USAGMT-5
America/Knox_INOra legale centrale USAGMT-5
America/LimaOra standard del PerùGMT-5
America/MatamorosOra legale centrale USAGMT-5
America/MenomineeOra legale centrale USAGMT-5
America/North_Dakota/BeulahOra legale centrale USAGMT-5
America/North_Dakota/CenterOra legale centrale USAGMT-5
America/North_Dakota/New_SalemOra legale centrale USAGMT-5
America/OjinagaOra legale centrale USAGMT-5
America/PanamaOra standard orientale USAGMT-5
America/Porto_AcreGMT-05:00GMT-5
America/Rainy_RiverOra legale centrale USAGMT-5
America/Rankin_InletOra legale centrale USAGMT-5
America/ResoluteOra legale centrale USAGMT-5
America/Rio_BrancoGMT-05:00GMT-5
America/WinnipegOra legale centrale USAGMT-5
Brazil/AcreGMT-05:00GMT-5
CST6CDTOra legale centrale USAGMT-5
Canada/CentralOra legale centrale USAGMT-5
Chile/EasterIslandOra legale dell’Isola di PasquaGMT-5
ESTOra standard orientale USAGMT-5
Etc/GMT+5GMT-05:00GMT-5
JamaicaOra standard orientale USAGMT-5
Pacific/EasterOra legale dell’Isola di PasquaGMT-5
US/CentralOra legale centrale USAGMT-5
US/Indiana-StarkeOra legale centrale USAGMT-5

Per sviluppatori

php


<?php

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

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