Asia/Tehran

Поточний час і дата зараз у часовому поясі Asia/Tehran.

UTC+03:30

Loading...
Loading...

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

Зсув+03:30
Літній часНе доступно
Часовий пояс IANAAsia/Tehran

Основною країною, яка використовує часовий пояс Asia/Tehran, є 🇮🇷 Іран.

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

+0330

UTC

Літній час
Літній час не застосовується

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

Таблиця надає порівняння різних стандартів форматування дати та часу поруч. Кожен рядок представляє унікальний стандарт формату, такий як ATOM, COOKIE, ISO та RFC серед інших.
Формат
Дата та час
ATOM2025-04-23T01:03:40.462+03:30
COOKIEWed, 23 Apr 2025 01:03:40 +0330
HTTPTue, 22 Apr 2025 21:33:40 GMT
ISO2025-04-23T01:03:40.462+03:30
ISO 86012025-04-23T01:03:40.462+03:30
MM-dd-yyyy HH:mm:ss04-23-2025 01:03:40
MongoDB2025-04-22T21:33:40.462Z
MySQL DATETIME2025-04-23 01:03:40
RFC 1036Wed, 23 Apr 25 01:03:40 +0330
RFC 1123Wed, 23 Apr 2025 01:03:40 +0330
RFC 2822Wed, 23 Apr 2025 01:03:40 +0330
RFC 33392025-04-23T01:03:40+0330
RFC 7231Wed, 23 Apr 2025 01:03:40 GMT+3:30
RFC 822Wed, 23 Apr 25 01:03:40 +0330
RFC 850Wednesday, 23-Apr-25 01:03:40 GMT+3:30
RSSWed, 23 Apr 2025 01:03:40 +0330
SQL2025-04-23 01:03:40.462 +03:30
SQL Time01:03:40.462 +03:30
UTC2025-04-22T21:33:40.462Z
Unix Epoch1745357620
W3C2025-04-23T01:03:40+03:30
dd-MM-yyyy HH:mm:ss23-04-2025 01:03:40
yyyy-dd-MM HH:mm:ss2025-23-04 01:03:40
yyyy-dd-MM hh:mm:ss a2025-23-04 01:03:40 AM

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

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

В таблиці декілька часових поясів.
Часовий пояс IANA
Назва зсуву
Абр
Asia/Tehranза іранським стандартним часомGMT+3:30
Iranза іранським стандартним часомGMT+3:30

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

php


<?php

// Solution 1
// Set the default time zone
date_default_timezone_set('Asia/Tehran');

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