Pacific/Nauru

The current time and date right now in the Pacific/Nauru time zone.

UTC+12:00

Loading...
Loading...

Timezone Profile

Daylight Saving TimeNot available
IANA TimezonePacific/Nauru
Offset+12:00

The primary country that uses the time zone Pacific/Nauru is 🇳🇷 Nauru.

Standard Time Available

+12

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-12-05T04:27:28.582+12:00
COOKIEThu, 05 Dec 2024 04:27:28 +1200
HTTPWed, 04 Dec 2024 16:27:28 GMT
ISO2024-12-05T04:27:28.582+12:00
ISO 86012024-12-05T04:27:28.582+12:00
MM-dd-yyyy HH:mm:ss12-05-2024 04:27:28
MongoDB2024-12-04T16:27:28.582Z
MySQL DATETIME2024-12-05 04:27:28
RFC 1036Thu, 05 Dec 24 04:27:28 +1200
RFC 1123Thu, 05 Dec 2024 04:27:28 +1200
RFC 2822Thu, 05 Dec 2024 04:27:28 +1200
RFC 33392024-12-05T04:27:28+1200
RFC 7231Thu, 05 Dec 2024 04:27:28 GMT+12
RFC 822Thu, 05 Dec 24 04:27:28 +1200
RFC 850Thursday, 05-Dec-24 04:27:28 GMT+12
RSSThu, 05 Dec 2024 04:27:28 +1200
SQL2024-12-05 04:27:28.582 +12:00
SQL Time04:27:28.582 +12:00
UTC2024-12-04T16:27:28.582Z
Unix Epoch1733329648
W3C2024-12-05T04:27:28+12:00
dd-MM-yyyy HH:mm:ss05-12-2024 04:27:28
yyyy-dd-MM HH:mm:ss2024-05-12 04:27:28
yyyy-dd-MM hh:mm:ss a2024-05-12 04:27: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 13 time zones in the table.
IANA Timezone
Offset Name
Abbr
Asia/AnadyrAnadyr Standard TimeGMT+12
Asia/KamchatkaPetropavlovsk-Kamchatski Standard TimeGMT+12
Etc/GMT-12GMT+12:00GMT+12
KwajaleinMarshall Islands TimeGMT+12
Pacific/FijiFiji Standard TimeGMT+12
Pacific/FunafutiTuvalu TimeGMT+12
Pacific/KwajaleinMarshall Islands TimeGMT+12
Pacific/MajuroMarshall Islands TimeGMT+12
Pacific/NauruNauru TimeGMT+12
Pacific/NorfolkNorfolk Island Daylight TimeGMT+12
Pacific/TarawaGilbert Islands TimeGMT+12
Pacific/WakeWake Island TimeGMT+12
Pacific/WallisWallis & Futuna TimeGMT+12

For Developers

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('Pacific/Nauru');

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