Indian/Cocos

Поточний місцевий час і дата в часовому поясі Indian/Cocos.

UTC+06:30

Loading...
Loading...

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

Зсув+06:30
Перехід на літній часНедоступно
Часовий пояс IANAIndian/Cocos

Основною країною, яка використовує часовий пояс Indian/Cocos, є 🇨🇨 Кокосові (Кілінг) Острови.

Стандартний час Доступно

+0630

UTC

Перехід на літній час
Перехід на літній час не застосовується

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

Таблиця надає порівняння різних стандартів форматування дати й часу. Кожен рядок представляє окремий стандарт формату, такий як ATOM, COOKIE, ISO, RFC та інші.
Формат
Дата і час
ATOM2026-06-02T03:37:20.434+06:30
COOKIETue, 02 Jun 2026 03:37:20 +0630
HTTPMon, 01 Jun 2026 21:07:20 GMT
ISO2026-06-02T03:37:20.434+06:30
ISO 86012026-06-02T03:37:20.434+06:30
MM-dd-yyyy HH:mm:ss06-02-2026 03:37:20
MongoDB2026-06-01T21:07:20.434Z
MySQL DATETIME2026-06-02 03:37:20
RFC 1036Tue, 02 Jun 26 03:37:20 +0630
RFC 1123Tue, 02 Jun 2026 03:37:20 +0630
RFC 2822Tue, 02 Jun 2026 03:37:20 +0630
RFC 33392026-06-02T03:37:20+0630
RFC 7231Tue, 02 Jun 2026 03:37:20 GMT+6:30
RFC 822Tue, 02 Jun 26 03:37:20 +0630
RFC 850Tuesday, 02-Jun-26 03:37:20 GMT+6:30
RSSTue, 02 Jun 2026 03:37:20 +0630
SQL2026-06-02 03:37:20.434 +06:30
SQL Time03:37:20.434 +06:30
UTC2026-06-01T21:07:20.434Z
Unix Epoch1780348040
W3C2026-06-02T03:37:20+06:30
dd-MM-yyyy HH:mm:ss02-06-2026 03:37:20
yyyy-dd-MM HH:mm:ss2026-02-06 03:37:20
yyyy-dd-MM hh:mm:ss a2026-02-06 03:37:20 AM

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

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

У таблиці є 3 часові пояси.
Часовий пояс IANA
Назва зсуву
Скорочення
Asia/Rangoonза часом у МʼянміGMT+6:30
Asia/Yangonза часом у МʼянміGMT+6:30
Indian/Cocosза часом на Кокосових островахGMT+6:30

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

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('Indian/Cocos');

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