America/Miquelon

Поточний час і дата зараз у часовому поясі America/Miquelon.

UTC-02:00

Loading...
Loading...

Профіль часового поясу

Зсув-02:00
Літній часДоступно
Часовий пояс IANAAmerica/Miquelon

Основною країною, яка використовує часовий пояс America/Miquelon, є 🇵🇲 Сен-П'єр і Мікелон.

Стандартний час

-03

Літній час Доступно

-02

Стандарти форматування дати та часу

Таблиця надає порівняння різних стандартів форматування дати та часу поруч. Кожен рядок представляє унікальний стандарт формату, такий як ATOM, COOKIE, ISO та RFC серед інших.
Формат
Дата та час
ATOM2025-06-15T22:53:58.818-02:00
COOKIESun, 15 Jun 2025 22:53:58 -0200
HTTPMon, 16 Jun 2025 00:53:58 GMT
ISO2025-06-15T22:53:58.818-02:00
ISO 86012025-06-15T22:53:58.818-02:00
MM-dd-yyyy HH:mm:ss06-15-2025 22:53:58
MongoDB2025-06-16T00:53:58.818Z
MySQL DATETIME2025-06-15 22:53:58
RFC 1036Sun, 15 Jun 25 22:53:58 -0200
RFC 1123Sun, 15 Jun 2025 22:53:58 -0200
RFC 2822Sun, 15 Jun 2025 22:53:58 -0200
RFC 33392025-06-15T22:53:58-0200
RFC 7231Sun, 15 Jun 2025 22:53:58 GMT-2
RFC 822Sun, 15 Jun 25 22:53:58 -0200
RFC 850Sunday, 15-Jun-25 22:53:58 GMT-2
RSSSun, 15 Jun 2025 22:53:58 -0200
SQL2025-06-15 22:53:58.818 -02:00
SQL Time22:53:58.818 -02:00
UTC2025-06-16T00:53:58.818Z
Unix Epoch1750035238
W3C2025-06-15T22:53:58-02:00
dd-MM-yyyy HH:mm:ss15-06-2025 22:53:58
yyyy-dd-MM HH:mm:ss2025-15-06 22:53:58
yyyy-dd-MM hh:mm:ss a2025-15-06 10:53:58 PM

Пов'язані часові пояси

Таблиця зі списком часових поясів, які мають однаковий часовий зсув. Включаючи назву та абревіатури часових поясів.

В таблиці 5 часових поясів.
Часовий пояс IANA
Назва зсуву
Абр
America/Miquelonза літнім часом на островах Сен-П’єр і МікелонGMT-2
America/Noronhaза стандартним часом на архіпелазі Фернанду-ді-НороньяGMT-2
Atlantic/South_Georgiaза часом на острові Південна ДжорджіяGMT-2
Brazil/DeNoronhaза стандартним часом на архіпелазі Фернанду-ді-НороньяGMT-2
Etc/GMT+2GMT-02:00GMT-2

Для розробників

php


<?php

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

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