UTC+04:30
Loading...
Loading...
タイムゾーンプロファイル
| IANAタイムゾーン | Asia/Kabul |
|---|---|
| オフセット | +04:30 |
| サマータイム | 利用不可 |
タイムゾーンAsia/Kabulを使用している国は🇦🇫 アフガニスタンです。
UTC
サマータイム
サマータイムは実施されていません
日付と時刻の形式標準
形式 | 日付と時刻 |
|---|---|
| ATOM | 2026-02-07T12:06:37.317+04:30 |
| COOKIE | Sat, 07 Feb 2026 12:06:37 +0430 |
| HTTP | Sat, 07 Feb 2026 07:36:37 GMT |
| ISO | 2026-02-07T12:06:37.317+04:30 |
| ISO 8601 | 2026-02-07T12:06:37.317+04:30 |
| MM-dd-yyyy HH:mm:ss | 02-07-2026 12:06:37 |
| MongoDB | 2026-02-07T07:36:37.317Z |
| MySQL DATETIME | 2026-02-07 12:06:37 |
| RFC 1036 | Sat, 07 Feb 26 12:06:37 +0430 |
| RFC 1123 | Sat, 07 Feb 2026 12:06:37 +0430 |
| RFC 2822 | Sat, 07 Feb 2026 12:06:37 +0430 |
| RFC 3339 | 2026-02-07T12:06:37+0430 |
| RFC 7231 | Sat, 07 Feb 2026 12:06:37 GMT+4:30 |
| RFC 822 | Sat, 07 Feb 26 12:06:37 +0430 |
| RFC 850 | Saturday, 07-Feb-26 12:06:37 GMT+4:30 |
| RSS | Sat, 07 Feb 2026 12:06:37 +0430 |
| SQL | 2026-02-07 12:06:37.317 +04:30 |
| SQL Time | 12:06:37.317 +04:30 |
| UTC | 2026-02-07T07:36:37.317Z |
| Unix Epoch | 1770449797 |
| W3C | 2026-02-07T12:06:37+04:30 |
| dd-MM-yyyy HH:mm:ss | 07-02-2026 12:06:37 |
| yyyy-dd-MM HH:mm:ss | 2026-07-02 12:06:37 |
| yyyy-dd-MM hh:mm:ss a | 2026-07-02 12:06:37 PM |
関連タイムゾーン
同じ時刻オフセットを持つタイムゾーンの一覧表です。名称とタイムゾーン略称を含みます。
IANAタイムゾーン | オフセット名 | 略称 |
|---|---|---|
| Asia/Kabul | アフガニスタン時間 | GMT+4:30 |
開発者向け
php
<?php
// Solution 1
// Set the default time zone
date_default_timezone_set('Asia/Kabul');
// Solution 2
// Use this to get the current date and time in the specified time zone.
$timezone = new DateTimeZone('Asia/Kabul');
// 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("Asia/Kabul")
# 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: "Asia/Kabul"});
/*
* Print the current date and time
*/
console.log(currentTime); // 1/1/2023, 12:00:00 AM