UTC-09:30
Loading...
Loading...
Profil du fuseau horaire
| Décalage | -09:30 |
|---|---|
| Fuseau horaire IANA | Pacific/Marquesas |
| Heure d’été | Non disponible |
Le pays principal qui utilise le fuseau horaire Pacific/Marquesas est 🇵🇫 Polynésie française.
UTC
Heure d’été
L’heure d’été n’est pas appliquée
Standards de format de date et d’heure
Format | Date et heure |
|---|---|
| ATOM | 2025-12-23T18:09:27.678-09:30 |
| COOKIE | Tue, 23 Dec 2025 18:09:27 -0930 |
| HTTP | Wed, 24 Dec 2025 03:39:27 GMT |
| ISO | 2025-12-23T18:09:27.678-09:30 |
| ISO 8601 | 2025-12-23T18:09:27.678-09:30 |
| MM-dd-yyyy HH:mm:ss | 12-23-2025 18:09:27 |
| MongoDB | 2025-12-24T03:39:27.678Z |
| MySQL DATETIME | 2025-12-23 18:09:27 |
| RFC 1036 | Tue, 23 Dec 25 18:09:27 -0930 |
| RFC 1123 | Tue, 23 Dec 2025 18:09:27 -0930 |
| RFC 2822 | Tue, 23 Dec 2025 18:09:27 -0930 |
| RFC 3339 | 2025-12-23T18:09:27-0930 |
| RFC 7231 | Tue, 23 Dec 2025 18:09:27 GMT-9:30 |
| RFC 822 | Tue, 23 Dec 25 18:09:27 -0930 |
| RFC 850 | Tuesday, 23-Dec-25 18:09:27 GMT-9:30 |
| RSS | Tue, 23 Dec 2025 18:09:27 -0930 |
| SQL | 2025-12-23 18:09:27.678 -09:30 |
| SQL Time | 18:09:27.678 -09:30 |
| UTC | 2025-12-24T03:39:27.678Z |
| Unix Epoch | 1766547567 |
| W3C | 2025-12-23T18:09:27-09:30 |
| dd-MM-yyyy HH:mm:ss | 23-12-2025 18:09:27 |
| yyyy-dd-MM HH:mm:ss | 2025-23-12 18:09:27 |
| yyyy-dd-MM hh:mm:ss a | 2025-23-12 06:09:27 PM |
Pour les développeurs
php
<?php
// Solution 1
// Set the default time zone
date_default_timezone_set('Pacific/Marquesas');
// Solution 2
// Use this to get the current date and time in the specified time zone.
$timezone = new DateTimeZone('Pacific/Marquesas');
// 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/Marquesas")
# 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/Marquesas"});
/*
* Print the current date and time
*/
console.log(currentTime); // 1/1/2023, 12:00:00 AM