Africa/Lagos

The current time and date right now in the Africa/Lagos time zone.

UTC+01:00

Loading...
Loading...

Timezone Profile

Daylight Saving TimeNot available
IANA TimezoneAfrica/Lagos
Offset+01:00

Countries using the Africa/Lagos time zone are ๐Ÿ‡ฆ๐Ÿ‡ด Angola, ๐Ÿ‡ง๐Ÿ‡ฏ Benin, ๐Ÿ‡จ๐Ÿ‡ฉ Democratic Republic of the Congo, ๐Ÿ‡จ๐Ÿ‡ซ Central African Republic, ๐Ÿ‡จ๐Ÿ‡ฌ Republic of the Congo, ๐Ÿ‡จ๐Ÿ‡ฒ Cameroon, ๐Ÿ‡ฌ๐Ÿ‡ฆ Gabon, ๐Ÿ‡ฌ๐Ÿ‡ถ Equatorial Guinea, ๐Ÿ‡ณ๐Ÿ‡ช Niger, and ๐Ÿ‡ณ๐Ÿ‡ฌ Nigeria.

UTC

Daylight Saving Time
DST is not observed

Date and Time Format Standards

The table provides a side-by-side comparison of different date and time format standards. Each row represents a unique format standard such as ATOM, COOKIE, ISO, and RFC, among others.
Format
Date and Time
ATOM2024-07-07T13:50:03.089+01:00
COOKIESun, 07 Jul 2024 13:50:03 +0100
HTTPSun, 07 Jul 2024 12:50:03 GMT
ISO2024-07-07T13:50:03.089+01:00
ISO 86012024-07-07T13:50:03.089+01:00
MM-dd-yyyy HH:mm:ss07-07-2024 13:50:03
MongoDB2024-07-07T12:50:03.089Z
MySQL DATETIME2024-07-07 13:50:03
RFC 1036Sun, 07 Jul 24 13:50:03 +0100
RFC 1123Sun, 07 Jul 2024 13:50:03 +0100
RFC 2822Sun, 07 Jul 2024 13:50:03 +0100
RFC 33392024-07-07T13:50:03+0100
RFC 7231Sun, 07 Jul 2024 13:50:03 GMT+1
RFC 822Sun, 07 Jul 24 13:50:03 +0100
RFC 850Sunday, 07-Jul-24 13:50:03 GMT+1
RSSSun, 07 Jul 2024 13:50:03 +0100
SQL2024-07-07 13:50:03.089 +01:00
SQL Time13:50:03.089 +01:00
UTC2024-07-07T12:50:03.089Z
Unix Epoch1720356603
W3C2024-07-07T13:50:03+01:00
dd-MM-yyyy HH:mm:ss07-07-2024 13:50:03
yyyy-dd-MM HH:mm:ss2024-07-07 13:50:03
yyyy-dd-MM hh:mm:ss a2024-07-07 01:50:03 PM

Related Time Zones

A table with a list of time zones that have the same time offset. Including name and time zone abbreviations.

There are 32 time zones in the table.
IANA Timezone
Offset Name
Abbr
Africa/AlgiersCentral European Standard TimeGMT+1
Africa/BanguiWest Africa Standard TimeGMT+1
Africa/BrazzavilleWest Africa Standard TimeGMT+1
Africa/CasablancaGMT+01:00GMT+1
Africa/DoualaWest Africa Standard TimeGMT+1
Africa/El_AaiunGMT+01:00GMT+1
Africa/KinshasaWest Africa Standard TimeGMT+1
Africa/LagosWest Africa Standard TimeGMT+1
Africa/LibrevilleWest Africa Standard TimeGMT+1
Africa/LuandaWest Africa Standard TimeGMT+1
Africa/MalaboWest Africa Standard TimeGMT+1
Africa/NdjamenaWest Africa Standard TimeGMT+1
Africa/NiameyWest Africa Standard TimeGMT+1
Africa/Porto-NovoWest Africa Standard TimeGMT+1
Africa/TunisCentral European Standard TimeGMT+1
Atlantic/CanaryWestern European Summer TimeGMT+1
Atlantic/FaeroeWestern European Summer TimeGMT+1
Atlantic/FaroeWestern European Summer TimeGMT+1
Atlantic/MadeiraWestern European Summer TimeGMT+1
EireIrish Standard TimeGMT+1
Etc/GMT-1GMT+01:00GMT+1
Europe/BelfastBritish Summer TimeGMT+1
Europe/DublinIrish Standard TimeGMT+1
Europe/GuernseyGMT+01:00GMT+1
Europe/Isle_of_ManGMT+01:00GMT+1
Europe/JerseyGMT+01:00GMT+1
Europe/LisbonWestern European Summer TimeGMT+1
Europe/LondonBritish Summer TimeGMT+1
GBBritish Summer TimeGMT+1
GB-EireBritish Summer TimeGMT+1
PortugalWestern European Summer TimeGMT+1
WETGMT+01:00GMT+1

For Developers

php


<?php

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

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