America/Miquelon

L'ora e la data locali correnti nel fuso orario America/Miquelon.

UTC-02:00

Loading...
Loading...

Profilo del fuso orario

Fuso orario IANAAmerica/Miquelon
Offset-02:00
Ora legaleDisponibile

Il paese principale che utilizza il fuso orario America/Miquelon è 🇵🇲 Saint-Pierre e Miquelon.

Ora solare

-03

Ora legale Disponibile

-02

Standard di formato di data e ora

La tabella fornisce un confronto affiancato di diversi standard di formato di data e ora. Ogni riga rappresenta uno standard di formato univoco come ATOM, COOKIE, ISO e RFC, tra gli altri.
Formato
Data e ora
ATOM2026-09-11T06:11:33.037-02:00
COOKIEFri, 11 Sep 2026 06:11:33 -0200
HTTPFri, 11 Sep 2026 08:11:33 GMT
ISO2026-09-11T06:11:33.037-02:00
ISO 86012026-09-11T06:11:33.037-02:00
MM-dd-yyyy HH:mm:ss09-11-2026 06:11:33
MongoDB2026-09-11T08:11:33.037Z
MySQL DATETIME2026-09-11 06:11:33
RFC 1036Fri, 11 Sep 26 06:11:33 -0200
RFC 1123Fri, 11 Sep 2026 06:11:33 -0200
RFC 2822Fri, 11 Sep 2026 06:11:33 -0200
RFC 33392026-09-11T06:11:33-0200
RFC 7231Fri, 11 Sep 2026 06:11:33 GMT-2
RFC 822Fri, 11 Sep 26 06:11:33 -0200
RFC 850Friday, 11-Sep-26 06:11:33 GMT-2
RSSFri, 11 Sep 2026 06:11:33 -0200
SQL2026-09-11 06:11:33.037 -02:00
SQL Time06:11:33.037 -02:00
UTC2026-09-11T08:11:33.037Z
Unix Epoch1789114293
W3C2026-09-11T06:11:33-02:00
dd-MM-yyyy HH:mm:ss11-09-2026 06:11:33
yyyy-dd-MM HH:mm:ss2026-11-09 06:11:33
yyyy-dd-MM hh:mm:ss a2026-11-09 06:11:33 AM

Fusi orari correlati

Una tabella con un elenco di fusi orari che hanno lo stesso offset. Include nome e abbreviazioni del fuso orario.

Ci sono 5 fusi orari nella tabella.
Fuso orario IANA
Nome offset
Abbr
America/MiquelonOra legale di Saint-Pierre e MiquelonGMT-2
America/NoronhaOra standard di Fernando de NoronhaGMT-2
Atlantic/South_GeorgiaOra della Georgia del SudGMT-2
Brazil/DeNoronhaOra standard di Fernando de NoronhaGMT-2
Etc/GMT+2GMT-02:00GMT-2

Per sviluppatori

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