America/St_Thomas

The current time and date right now in the America/St_Thomas time zone.

UTC-04:00

Loading...
Loading...

Timezone Profile

Daylight Saving TimeNot available
IANA TimezoneAmerica/St_Thomas
Offset-04:00

The primary country that uses the time zone America/St_Thomas is 🇻🇮 U.S. Virgin Islands.

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-11-21T04:56:28.441-04:00
COOKIEThu, 21 Nov 2024 04:56:28 -0400
HTTPThu, 21 Nov 2024 08:56:28 GMT
ISO2024-11-21T04:56:28.441-04:00
ISO 86012024-11-21T04:56:28.441-04:00
MM-dd-yyyy HH:mm:ss11-21-2024 04:56:28
MongoDB2024-11-21T08:56:28.441Z
MySQL DATETIME2024-11-21 04:56:28
RFC 1036Thu, 21 Nov 24 04:56:28 -0400
RFC 1123Thu, 21 Nov 2024 04:56:28 -0400
RFC 2822Thu, 21 Nov 2024 04:56:28 -0400
RFC 33392024-11-21T04:56:28-0400
RFC 7231Thu, 21 Nov 2024 04:56:28 AST
RFC 822Thu, 21 Nov 24 04:56:28 -0400
RFC 850Thursday, 21-Nov-24 04:56:28 AST
RSSThu, 21 Nov 2024 04:56:28 -0400
SQL2024-11-21 04:56:28.441 -04:00
SQL Time04:56:28.441 -04:00
UTC2024-11-21T08:56:28.441Z
Unix Epoch1732179388
W3C2024-11-21T04:56:28-04:00
dd-MM-yyyy HH:mm:ss21-11-2024 04:56:28
yyyy-dd-MM HH:mm:ss2024-21-11 04:56:28
yyyy-dd-MM hh:mm:ss a2024-21-11 04:56:28 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 41 time zones in the table.
IANA Timezone
Offset Name
Abbr
America/AnguillaAtlantic Standard TimeAST
America/AntiguaAtlantic Standard TimeAST
America/ArubaAtlantic Standard TimeAST
America/BarbadosAtlantic Standard TimeAST
America/Blanc-SablonAtlantic Standard TimeAST
America/Boa_VistaAmazon Standard TimeGMT-4
America/Campo_GrandeAmazon Standard TimeGMT-4
America/CaracasVenezuela TimeGMT-4
America/CuiabaAmazon Standard TimeGMT-4
America/CuracaoAtlantic Standard TimeAST
America/DominicaAtlantic Standard TimeAST
America/Glace_BayAtlantic Standard TimeAST
America/Goose_BayAtlantic Standard TimeAST
America/GrenadaAtlantic Standard TimeAST
America/GuadeloupeAtlantic Standard TimeAST
America/GuyanaGuyana TimeGMT-4
America/HalifaxAtlantic Standard TimeAST
America/KralendijkAtlantic Standard TimeAST
America/La_PazBolivia TimeGMT-4
America/Lower_PrincesAtlantic Standard TimeAST
America/ManausAmazon Standard TimeGMT-4
America/MarigotAtlantic Standard TimeAST
America/MartiniqueAtlantic Standard TimeAST
America/MonctonAtlantic Standard TimeAST
America/MontserratAtlantic Standard TimeAST
America/Port_of_SpainAtlantic Standard TimeAST
America/Porto_VelhoAmazon Standard TimeGMT-4
America/Puerto_RicoAtlantic Standard TimeAST
America/Santo_DomingoAtlantic Standard TimeAST
America/St_BarthelemyAtlantic Standard TimeAST
America/St_KittsAtlantic Standard TimeAST
America/St_LuciaAtlantic Standard TimeAST
America/St_ThomasAtlantic Standard TimeAST
America/St_VincentAtlantic Standard TimeAST
America/ThuleAtlantic Standard TimeAST
America/TortolaAtlantic Standard TimeAST
America/VirginAtlantic Standard TimeAST
Atlantic/BermudaAtlantic Standard TimeAST
Brazil/WestAmazon Standard TimeGMT-4
Canada/AtlanticAtlantic Standard TimeAST
Etc/GMT+4GMT-04:00GMT-4

For Developers

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('America/St_Thomas');

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