Africa/Mogadishu

L'ora e la data locali correnti nel fuso orario Africa/Mogadishu.

UTC+03:00

Loading...
Loading...

Profilo del fuso orario

Fuso orario IANAAfrica/Mogadishu
Offset+03:00
Ora legaleNon disponibile

Il paese principale che utilizza il fuso orario Africa/Mogadishu è 🇸🇴 Somalia.

UTC

Ora legale
L'ora legale non è osservata

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
ATOM2025-12-24T02:39:08.316+03:00
COOKIEWed, 24 Dec 2025 02:39:08 +0300
HTTPTue, 23 Dec 2025 23:39:08 GMT
ISO2025-12-24T02:39:08.316+03:00
ISO 86012025-12-24T02:39:08.316+03:00
MM-dd-yyyy HH:mm:ss12-24-2025 02:39:08
MongoDB2025-12-23T23:39:08.316Z
MySQL DATETIME2025-12-24 02:39:08
RFC 1036Wed, 24 Dec 25 02:39:08 +0300
RFC 1123Wed, 24 Dec 2025 02:39:08 +0300
RFC 2822Wed, 24 Dec 2025 02:39:08 +0300
RFC 33392025-12-24T02:39:08+0300
RFC 7231Wed, 24 Dec 2025 02:39:08 GMT+3
RFC 822Wed, 24 Dec 25 02:39:08 +0300
RFC 850Wednesday, 24-Dec-25 02:39:08 GMT+3
RSSWed, 24 Dec 2025 02:39:08 +0300
SQL2025-12-24 02:39:08.316 +03:00
SQL Time02:39:08.316 +03:00
UTC2025-12-23T23:39:08.316Z
Unix Epoch1766533148
W3C2025-12-24T02:39:08+03:00
dd-MM-yyyy HH:mm:ss24-12-2025 02:39:08
yyyy-dd-MM HH:mm:ss2025-24-12 02:39:08
yyyy-dd-MM hh:mm:ss a2025-24-12 02:39:08 AM

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 30 fusi orari nella tabella.
Fuso orario IANA
Nome offset
Abbr
Africa/Addis_AbabaOra dell’Africa orientaleGMT+3
Africa/AsmaraOra dell’Africa orientaleGMT+3
Africa/AsmeraOra dell’Africa orientaleGMT+3
Africa/Dar_es_SalaamOra dell’Africa orientaleGMT+3
Africa/DjiboutiOra dell’Africa orientaleGMT+3
Africa/KampalaOra dell’Africa orientaleGMT+3
Africa/MogadishuOra dell’Africa orientaleGMT+3
Africa/NairobiOra dell’Africa orientaleGMT+3
Antarctica/SyowaOra di SyowaGMT+3
Asia/AdenOra standard arabaGMT+3
Asia/AmmanGMT+03:00GMT+3
Asia/BaghdadOra standard arabaGMT+3
Asia/BahrainOra standard arabaGMT+3
Asia/DamascusGMT+03:00GMT+3
Asia/IstanbulGMT+03:00GMT+3
Asia/KuwaitOra standard arabaGMT+3
Asia/QatarOra standard arabaGMT+3
Asia/RiyadhOra standard arabaGMT+3
Etc/GMT-3GMT+03:00GMT+3
Europe/IstanbulGMT+03:00GMT+3
Europe/KirovGMT+03:00GMT+3
Europe/MinskOra standard di MoscaGMT+3
Europe/MoscowOra standard di MoscaGMT+3
Europe/SimferopolOra standard di MoscaGMT+3
Europe/VolgogradOra standard di VolgogradGMT+3
Indian/AntananarivoOra dell’Africa orientaleGMT+3
Indian/ComoroOra dell’Africa orientaleGMT+3
Indian/MayotteOra dell’Africa orientaleGMT+3
TurkeyGMT+03:00GMT+3
W-SUOra standard di MoscaGMT+3

Per sviluppatori

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