Africa/Dakar

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

UTC+00:00

Loading...
Loading...

Timezone Profile

Daylight Saving TimeNot available
IANA TimezoneAfrica/Dakar
Offset+00:00

The primary country that uses the time zone Africa/Dakar is 🇸🇳 Senegal.

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
ATOM2025-05-13T13:44:36.137+00:00
COOKIETue, 13 May 2025 13:44:36 +0000
HTTPTue, 13 May 2025 13:44:36 GMT
ISO2025-05-13T13:44:36.137+00:00
ISO 86012025-05-13T13:44:36.137+00:00
MM-dd-yyyy HH:mm:ss05-13-2025 13:44:36
MongoDB2025-05-13T13:44:36.137Z
MySQL DATETIME2025-05-13 13:44:36
RFC 1036Tue, 13 May 25 13:44:36 +0000
RFC 1123Tue, 13 May 2025 13:44:36 +0000
RFC 2822Tue, 13 May 2025 13:44:36 +0000
RFC 33392025-05-13T13:44:36+0000
RFC 7231Tue, 13 May 2025 13:44:36 GMT
RFC 822Tue, 13 May 25 13:44:36 +0000
RFC 850Tuesday, 13-May-25 13:44:36 GMT
RSSTue, 13 May 2025 13:44:36 +0000
SQL2025-05-13 13:44:36.137 +00:00
SQL Time13:44:36.137 +00:00
UTC2025-05-13T13:44:36.137Z
Unix Epoch1747143876
W3C2025-05-13T13:44:36+00:00
dd-MM-yyyy HH:mm:ss13-05-2025 13:44:36
yyyy-dd-MM HH:mm:ss2025-13-05 13:44:36
yyyy-dd-MM hh:mm:ss a2025-13-05 01:44:36 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 37 time zones in the table.
IANA Timezone
Offset Name
Abbr
Africa/AbidjanGreenwich Mean TimeGMT
Africa/AccraGreenwich Mean TimeGMT
Africa/BamakoGreenwich Mean TimeGMT
Africa/BanjulGreenwich Mean TimeGMT
Africa/BissauGreenwich Mean TimeGMT
Africa/ConakryGreenwich Mean TimeGMT
Africa/DakarGreenwich Mean TimeGMT
Africa/FreetownGreenwich Mean TimeGMT
Africa/LomeGreenwich Mean TimeGMT
Africa/MonroviaGreenwich Mean TimeGMT
Africa/NouakchottGreenwich Mean TimeGMT
Africa/OuagadougouGreenwich Mean TimeGMT
Africa/Sao_TomeGreenwich Mean TimeGMT
Africa/TimbuktuGreenwich Mean TimeGMT
America/DanmarkshavnGreenwich Mean TimeGMT
Atlantic/AzoresAzores Summer TimeGMT
Atlantic/ReykjavikGreenwich Mean TimeGMT
Atlantic/St_HelenaGreenwich Mean TimeGMT
Etc/GMTCoordinated Universal TimeUTC
Etc/GMT+0Greenwich Mean TimeGMT
Etc/GMT-0Greenwich Mean TimeGMT
Etc/GMT0Greenwich Mean TimeGMT
Etc/GreenwichGreenwich Mean TimeGMT
Etc/UCTCoordinated Universal TimeUTC
Etc/UTCCoordinated Universal TimeUTC
Etc/UniversalCoordinated Universal TimeUTC
Etc/ZuluCoordinated Universal TimeUTC
GMTUTCUTC
GMT+0Coordinated Universal TimeUTC
GMT-0Coordinated Universal TimeUTC
GMT0Coordinated Universal TimeUTC
GreenwichGreenwich Mean TimeGMT
IcelandGreenwich Mean TimeGMT
UCTCoordinated Universal TimeUTC
UTCUTCUTC
UniversalCoordinated Universal TimeUTC
ZuluCoordinated Universal TimeUTC

For Developers

php


<?php

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

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