Africa/Asmara

Bieżąca lokalna data i godzina w strefie czasowej Africa/Asmara.

UTC+03:00

Loading...
Loading...

Profil strefy czasowej

Czas letniNiedostępne
Przesunięcie+03:00
Strefa czasowa IANAAfrica/Asmara

Głównym krajem korzystającym ze strefy czasowej Africa/Asmara jest 🇪🇷 Erytrea.

UTC

Czas letni
Nie obowiązuje czas letni

Standardy formatu daty i godziny

Tabela przedstawia porównanie różnych standardów formatu daty i godziny. Każdy wiersz odpowiada odrębnemu standardowi, takiemu jak ATOM, COOKIE, ISO i RFC oraz innym.
Format
Data i godzina
ATOM2026-02-07T13:09:54.548+03:00
COOKIESat, 07 Feb 2026 13:09:54 +0300
HTTPSat, 07 Feb 2026 10:09:54 GMT
ISO2026-02-07T13:09:54.548+03:00
ISO 86012026-02-07T13:09:54.548+03:00
MM-dd-yyyy HH:mm:ss02-07-2026 13:09:54
MongoDB2026-02-07T10:09:54.548Z
MySQL DATETIME2026-02-07 13:09:54
RFC 1036Sat, 07 Feb 26 13:09:54 +0300
RFC 1123Sat, 07 Feb 2026 13:09:54 +0300
RFC 2822Sat, 07 Feb 2026 13:09:54 +0300
RFC 33392026-02-07T13:09:54+0300
RFC 7231Sat, 07 Feb 2026 13:09:54 GMT+3
RFC 822Sat, 07 Feb 26 13:09:54 +0300
RFC 850Saturday, 07-Feb-26 13:09:54 GMT+3
RSSSat, 07 Feb 2026 13:09:54 +0300
SQL2026-02-07 13:09:54.548 +03:00
SQL Time13:09:54.548 +03:00
UTC2026-02-07T10:09:54.548Z
Unix Epoch1770458994
W3C2026-02-07T13:09:54+03:00
dd-MM-yyyy HH:mm:ss07-02-2026 13:09:54
yyyy-dd-MM HH:mm:ss2026-07-02 13:09:54
yyyy-dd-MM hh:mm:ss a2026-07-02 01:09:54 PM

Powiązane strefy czasowe

Tabela z listą stref czasowych o tym samym przesunięciu czasu. Zawiera nazwy i skróty stref czasowych.

W tabeli znajduje się 30 stref czasowych.
Strefa czasowa IANA
Nazwa przesunięcia
Skrót
Africa/Addis_Ababaczas wschodnioafrykańskiGMT+3
Africa/Asmaraczas wschodnioafrykańskiGMT+3
Africa/Asmeraczas wschodnioafrykańskiGMT+3
Africa/Dar_es_Salaamczas wschodnioafrykańskiGMT+3
Africa/Djibouticzas wschodnioafrykańskiGMT+3
Africa/Kampalaczas wschodnioafrykańskiGMT+3
Africa/Mogadishuczas wschodnioafrykańskiGMT+3
Africa/Nairobiczas wschodnioafrykańskiGMT+3
Antarctica/Syowaczas SyowaGMT+3
Asia/AdenPółwysep Arabski (czas standardowy)GMT+3
Asia/AmmanGMT+03:00GMT+3
Asia/BaghdadPółwysep Arabski (czas standardowy)GMT+3
Asia/BahrainPółwysep Arabski (czas standardowy)GMT+3
Asia/DamascusGMT+03:00GMT+3
Asia/IstanbulGMT+03:00GMT+3
Asia/KuwaitPółwysep Arabski (czas standardowy)GMT+3
Asia/QatarPółwysep Arabski (czas standardowy)GMT+3
Asia/RiyadhPółwysep Arabski (czas standardowy)GMT+3
Etc/GMT-3GMT+03:00GMT+3
Europe/IstanbulGMT+03:00GMT+3
Europe/KirovGMT+03:00GMT+3
Europe/MinskMoskwa (czas standardowy)GMT+3
Europe/MoscowMoskwa (czas standardowy)GMT+3
Europe/SimferopolMoskwa (czas standardowy)GMT+3
Europe/VolgogradWołgograd (czas standardowy)GMT+3
Indian/Antananarivoczas wschodnioafrykańskiGMT+3
Indian/Comoroczas wschodnioafrykańskiGMT+3
Indian/Mayotteczas wschodnioafrykańskiGMT+3
TurkeyGMT+03:00GMT+3
W-SUMoskwa (czas standardowy)GMT+3

Dla programistów

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('Africa/Asmara');

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