UTC-09:30
Loading...
Loading...
Προφίλ ζώνης ώρας
| Ζώνη ώρας IANA | Pacific/Marquesas |
|---|---|
| Θερινή ώρα | Μη διαθέσιμο |
| Μετατόπιση | -09:30 |
Η κύρια χώρα που χρησιμοποιεί τη ζώνη ώρας Pacific/Marquesas είναι 🇵🇫 Γαλλική Πολυνησία.
UTC
Θερινή ώρα
Δεν εφαρμόζεται θερινή ώρα
Πρότυπα μορφής ημερομηνίας και ώρας
Μορφή | Ημερομηνία και ώρα |
|---|---|
| ATOM | 2026-06-22T06:14:10.444-09:30 |
| COOKIE | Mon, 22 Jun 2026 06:14:10 -0930 |
| HTTP | Mon, 22 Jun 2026 15:44:10 GMT |
| ISO | 2026-06-22T06:14:10.444-09:30 |
| ISO 8601 | 2026-06-22T06:14:10.444-09:30 |
| MM-dd-yyyy HH:mm:ss | 06-22-2026 06:14:10 |
| MongoDB | 2026-06-22T15:44:10.444Z |
| MySQL DATETIME | 2026-06-22 06:14:10 |
| RFC 1036 | Mon, 22 Jun 26 06:14:10 -0930 |
| RFC 1123 | Mon, 22 Jun 2026 06:14:10 -0930 |
| RFC 2822 | Mon, 22 Jun 2026 06:14:10 -0930 |
| RFC 3339 | 2026-06-22T06:14:10-0930 |
| RFC 7231 | Mon, 22 Jun 2026 06:14:10 GMT-9:30 |
| RFC 822 | Mon, 22 Jun 26 06:14:10 -0930 |
| RFC 850 | Monday, 22-Jun-26 06:14:10 GMT-9:30 |
| RSS | Mon, 22 Jun 2026 06:14:10 -0930 |
| SQL | 2026-06-22 06:14:10.444 -09:30 |
| SQL Time | 06:14:10.444 -09:30 |
| UTC | 2026-06-22T15:44:10.444Z |
| Unix Epoch | 1782143050 |
| W3C | 2026-06-22T06:14:10-09:30 |
| dd-MM-yyyy HH:mm:ss | 22-06-2026 06:14:10 |
| yyyy-dd-MM HH:mm:ss | 2026-22-06 06:14:10 |
| yyyy-dd-MM hh:mm:ss a | 2026-22-06 06:14:10 AM |
Για προγραμματιστές
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