Africa/Sao_Tome

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

UTC+00:00

Loading...
Loading...

Timezone Profile

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

The primary country that uses the time zone Africa/Sao_Tome is 🇸🇹 Sao Tome and Principe.

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-01-22T11:03:29.571+00:00
COOKIEWed, 22 Jan 2025 11:03:29 +0000
HTTPWed, 22 Jan 2025 11:03:29 GMT
ISO2025-01-22T11:03:29.571+00:00
ISO 86012025-01-22T11:03:29.571+00:00
MM-dd-yyyy HH:mm:ss01-22-2025 11:03:29
MongoDB2025-01-22T11:03:29.571Z
MySQL DATETIME2025-01-22 11:03:29
RFC 1036Wed, 22 Jan 25 11:03:29 +0000
RFC 1123Wed, 22 Jan 2025 11:03:29 +0000
RFC 2822Wed, 22 Jan 2025 11:03:29 +0000
RFC 33392025-01-22T11:03:29+0000
RFC 7231Wed, 22 Jan 2025 11:03:29 GMT
RFC 822Wed, 22 Jan 25 11:03:29 +0000
RFC 850Wednesday, 22-Jan-25 11:03:29 GMT
RSSWed, 22 Jan 2025 11:03:29 +0000
SQL2025-01-22 11:03:29.571 +00:00
SQL Time11:03:29.571 +00:00
UTC2025-01-22T11:03:29.571Z
Unix Epoch1737543809
W3C2025-01-22T11:03:29+00:00
dd-MM-yyyy HH:mm:ss22-01-2025 11:03:29
yyyy-dd-MM HH:mm:ss2025-22-01 11:03:29
yyyy-dd-MM hh:mm:ss a2025-22-01 11:03:29 AM

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 53 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
Antarctica/TrollGreenwich Mean TimeGMT
Atlantic/CanaryWestern European Standard TimeGMT
Atlantic/FaeroeWestern European Standard TimeGMT
Atlantic/FaroeWestern European Standard TimeGMT
Atlantic/MadeiraWestern European Standard TimeGMT
Atlantic/ReykjavikGreenwich Mean TimeGMT
Atlantic/St_HelenaGreenwich Mean TimeGMT
EireGreenwich 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
Europe/BelfastGreenwich Mean TimeGMT
Europe/DublinGreenwich Mean TimeGMT
Europe/GuernseyGreenwich Mean TimeGMT
Europe/Isle_of_ManGreenwich Mean TimeGMT
Europe/JerseyGreenwich Mean TimeGMT
Europe/LisbonWestern European Standard TimeGMT
Europe/LondonGreenwich Mean TimeGMT
GBGreenwich Mean TimeGMT
GB-EireGreenwich Mean TimeGMT
GMTUTCUTC
GMT+0Coordinated Universal TimeUTC
GMT-0Coordinated Universal TimeUTC
GMT0Coordinated Universal TimeUTC
GreenwichGreenwich Mean TimeGMT
IcelandGreenwich Mean TimeGMT
PortugalWestern European Standard TimeGMT
UCTCoordinated Universal TimeUTC
UTCUTCUTC
UniversalCoordinated Universal TimeUTC
WETWestern European Standard TimeGMT
ZuluCoordinated Universal TimeUTC

For Developers

php


<?php

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

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