America/Puerto_Rico

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

UTC-04:00

Loading...
Loading...

Timezone Profile

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

Countries using the America/Puerto_Rico time zone are ๐Ÿ‡ฆ๐Ÿ‡ฌ Antigua and Barbuda, ๐Ÿ‡ฆ๐Ÿ‡ฎ Anguilla, ๐Ÿ‡ฆ๐Ÿ‡ผ Aruba, ๐Ÿ‡ง๐Ÿ‡ฑ Saint Barthelemy, ๐Ÿ‡ง๐Ÿ‡ถ Bonaire, Saint Eustatius and Saba, ๐Ÿ‡จ๐Ÿ‡ฆ Canada, ๐Ÿ‡จ๐Ÿ‡ผ Curacao, ๐Ÿ‡ฉ๐Ÿ‡ฒ Dominica, ๐Ÿ‡ฌ๐Ÿ‡ฉ Grenada, ๐Ÿ‡ฌ๐Ÿ‡ต Guadeloupe, ๐Ÿ‡ฐ๐Ÿ‡ณ Saint Kitts and Nevis, ๐Ÿ‡ฑ๐Ÿ‡จ Saint Lucia, ๐Ÿ‡ฒ๐Ÿ‡ซ Saint Martin, ๐Ÿ‡ฒ๐Ÿ‡ธ Montserrat, ๐Ÿ‡ต๐Ÿ‡ท Puerto Rico, ๐Ÿ‡ธ๐Ÿ‡ฝ Sint Maarten, ๐Ÿ‡น๐Ÿ‡น Trinidad and Tobago, ๐Ÿ‡ป๐Ÿ‡จ Saint Vincent and the Grenadines, ๐Ÿ‡ป๐Ÿ‡ฌ British Virgin Islands, and ๐Ÿ‡ป๐Ÿ‡ฎ 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:46:16.765-04:00
COOKIEThu, 21 Nov 2024 04:46:16 -0400
HTTPThu, 21 Nov 2024 08:46:16 GMT
ISO2024-11-21T04:46:16.765-04:00
ISO 86012024-11-21T04:46:16.765-04:00
MM-dd-yyyy HH:mm:ss11-21-2024 04:46:16
MongoDB2024-11-21T08:46:16.765Z
MySQL DATETIME2024-11-21 04:46:16
RFC 1036Thu, 21 Nov 24 04:46:16 -0400
RFC 1123Thu, 21 Nov 2024 04:46:16 -0400
RFC 2822Thu, 21 Nov 2024 04:46:16 -0400
RFC 33392024-11-21T04:46:16-0400
RFC 7231Thu, 21 Nov 2024 04:46:16 AST
RFC 822Thu, 21 Nov 24 04:46:16 -0400
RFC 850Thursday, 21-Nov-24 04:46:16 AST
RSSThu, 21 Nov 2024 04:46:16 -0400
SQL2024-11-21 04:46:16.765 -04:00
SQL Time04:46:16.765 -04:00
UTC2024-11-21T08:46:16.765Z
Unix Epoch1732178776
W3C2024-11-21T04:46:16-04:00
dd-MM-yyyy HH:mm:ss21-11-2024 04:46:16
yyyy-dd-MM HH:mm:ss2024-21-11 04:46:16
yyyy-dd-MM hh:mm:ss a2024-21-11 04:46:16 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/Puerto_Rico');

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