Africa/Porto-Novo

Ora și data locală curente în fusul orar Africa/Porto-Novo.

UTC+01:00

Loading...
Loading...

Profil de fus orar

Decalaj+01:00
Fus orar IANAAfrica/Porto-Novo
Ora de varăIndisponibil

Țara principală care folosește fusul orar Africa/Porto-Novo este 🇧🇯 Benin.

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
ATOM2026-08-06T21:57:26.290+01:00
COOKIEThu, 06 Aug 2026 21:57:26 +0100
HTTPThu, 06 Aug 2026 20:57:26 GMT
ISO2026-08-06T21:57:26.290+01:00
ISO 86012026-08-06T21:57:26.290+01:00
MM-dd-yyyy HH:mm:ss08-06-2026 21:57:26
MongoDB2026-08-06T20:57:26.290Z
MySQL DATETIME2026-08-06 21:57:26
RFC 1036Thu, 06 Aug 26 21:57:26 +0100
RFC 1123Thu, 06 Aug 2026 21:57:26 +0100
RFC 2822Thu, 06 Aug 2026 21:57:26 +0100
RFC 33392026-08-06T21:57:26+0100
RFC 7231Thu, 06 Aug 2026 21:57:26 GMT+1
RFC 822Thu, 06 Aug 26 21:57:26 +0100
RFC 850Thursday, 06-Aug-26 21:57:26 GMT+1
RSSThu, 06 Aug 2026 21:57:26 +0100
SQL2026-08-06 21:57:26.290 +01:00
SQL Time21:57:26.290 +01:00
UTC2026-08-06T20:57:26.290Z
Unix Epoch1786049846
W3C2026-08-06T21:57:26+01:00
dd-MM-yyyy HH:mm:ss06-08-2026 21:57:26
yyyy-dd-MM HH:mm:ss2026-06-08 21:57:26
yyyy-dd-MM hh:mm:ss a2026-06-08 09:57:26 PM

Fusuri orare asociate

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

Sunt 32 de fusuri orare în tabel.
Fus orar IANA
Denumire decalaj
Abbr
Africa/AlgiersOra standard a Europei CentraleCET
Africa/BanguiOra Africii OccidentaleGMT+1
Africa/BrazzavilleOra Africii OccidentaleGMT+1
Africa/CasablancaGMT+01:00GMT+1
Africa/DoualaOra Africii OccidentaleGMT+1
Africa/El_AaiunGMT+01:00GMT+1
Africa/KinshasaOra Africii OccidentaleGMT+1
Africa/LagosOra Africii OccidentaleGMT+1
Africa/LibrevilleOra Africii OccidentaleGMT+1
Africa/LuandaOra Africii OccidentaleGMT+1
Africa/MalaboOra Africii OccidentaleGMT+1
Africa/NdjamenaOra Africii OccidentaleGMT+1
Africa/NiameyOra Africii OccidentaleGMT+1
Africa/Porto-NovoOra Africii OccidentaleGMT+1
Africa/TunisOra standard a Europei CentraleCET
Atlantic/CanaryOra de vară a Europei de VestWEST
Atlantic/FaeroeOra de vară a Europei de VestWEST
Atlantic/FaroeOra de vară a Europei de VestWEST
Atlantic/MadeiraOra de vară a Europei de VestWEST
EireOra de vară a IrlandeiGMT+1
Etc/GMT-1GMT+01:00GMT+1
Europe/BelfastOra de vară britanicăGMT+1
Europe/DublinOra de vară a IrlandeiGMT+1
Europe/GuernseyGMT+01:00GMT+1
Europe/Isle_of_ManGMT+01:00GMT+1
Europe/JerseyGMT+01:00GMT+1
Europe/LisbonOra de vară a Europei de VestWEST
Europe/LondonOra de vară britanicăGMT+1
GBOra de vară britanicăGMT+1
GB-EireOra de vară britanicăGMT+1
PortugalOra de vară a Europei de VestWEST
WETOra de vară a Europei de VestWEST

Pentru dezvoltatori

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('Africa/Porto-Novo');

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