Africa/Mogadishu

Ora și data locală curente în fusul orar Africa/Mogadishu.

UTC+03:00

Loading...
Loading...

Profil de fus orar

Decalaj+03:00
Fus orar IANAAfrica/Mogadishu
Ora de varăIndisponibil

Țara principală care folosește fusul orar Africa/Mogadishu este 🇸🇴 Somalia.

UTC

Ora de vară
Ora de vară nu este aplicată

Standarde de format pentru dată și oră

Tabelul oferă o comparație alăturată a diferitelor standarde de format pentru dată și oră. Fiecare rând reprezintă un standard de format distinct, precum ATOM, COOKIE, ISO și RFC, printre altele.
Format
Data și ora
ATOM2025-12-24T02:42:15.009+03:00
COOKIEWed, 24 Dec 2025 02:42:15 +0300
HTTPTue, 23 Dec 2025 23:42:15 GMT
ISO2025-12-24T02:42:15.009+03:00
ISO 86012025-12-24T02:42:15.009+03:00
MM-dd-yyyy HH:mm:ss12-24-2025 02:42:15
MongoDB2025-12-23T23:42:15.009Z
MySQL DATETIME2025-12-24 02:42:15
RFC 1036Wed, 24 Dec 25 02:42:15 +0300
RFC 1123Wed, 24 Dec 2025 02:42:15 +0300
RFC 2822Wed, 24 Dec 2025 02:42:15 +0300
RFC 33392025-12-24T02:42:15+0300
RFC 7231Wed, 24 Dec 2025 02:42:15 GMT+3
RFC 822Wed, 24 Dec 25 02:42:15 +0300
RFC 850Wednesday, 24-Dec-25 02:42:15 GMT+3
RSSWed, 24 Dec 2025 02:42:15 +0300
SQL2025-12-24 02:42:15.009 +03:00
SQL Time02:42:15.009 +03:00
UTC2025-12-23T23:42:15.009Z
Unix Epoch1766533335
W3C2025-12-24T02:42:15+03:00
dd-MM-yyyy HH:mm:ss24-12-2025 02:42:15
yyyy-dd-MM HH:mm:ss2025-24-12 02:42:15
yyyy-dd-MM hh:mm:ss a2025-24-12 02:42:15 AM

Fusuri orare asociate

Un tabel cu o listă de fusuri orare care au același decalaj. Include denumirea și abrevierile fusului orar.

Sunt 30 de fusuri orare în tabel.
Fus orar IANA
Denumire decalaj
Abbr
Africa/Addis_AbabaOra Africii OrientaleGMT+3
Africa/AsmaraOra Africii OrientaleGMT+3
Africa/AsmeraOra Africii OrientaleGMT+3
Africa/Dar_es_SalaamOra Africii OrientaleGMT+3
Africa/DjiboutiOra Africii OrientaleGMT+3
Africa/KampalaOra Africii OrientaleGMT+3
Africa/MogadishuOra Africii OrientaleGMT+3
Africa/NairobiOra Africii OrientaleGMT+3
Antarctica/SyowaOra din SyowaGMT+3
Asia/AdenOra standard arabăGMT+3
Asia/AmmanGMT+03:00GMT+3
Asia/BaghdadOra standard arabăGMT+3
Asia/BahrainOra standard arabăGMT+3
Asia/DamascusGMT+03:00GMT+3
Asia/IstanbulGMT+03:00GMT+3
Asia/KuwaitOra standard arabăGMT+3
Asia/QatarOra standard arabăGMT+3
Asia/RiyadhOra standard arabăGMT+3
Etc/GMT-3GMT+03:00GMT+3
Europe/IstanbulGMT+03:00GMT+3
Europe/KirovGMT+03:00GMT+3
Europe/MinskOra standard a MoscoveiGMT+3
Europe/MoscowOra standard a MoscoveiGMT+3
Europe/SimferopolOra standard a MoscoveiGMT+3
Europe/VolgogradOra standard din VolgogradGMT+3
Indian/AntananarivoOra Africii OrientaleGMT+3
Indian/ComoroOra Africii OrientaleGMT+3
Indian/MayotteOra Africii OrientaleGMT+3
TurkeyGMT+03:00GMT+3
W-SUOra standard a MoscoveiGMT+3

Pentru dezvoltatori

php


<?php

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

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