Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс DateTime

Открытые статические члены

static getDateValue (?\Bitrix\Main\Type\DateTime $value=null)
 

Защищенные статические члены

static formatDateTime ($stamp, ?string $format=null)
 
static getDateTimeFormat ()
 
static getDateTimestamp (\Bitrix\Main\Type\DateTime $date)
 
static getHumanDateTimeFormat (int $timestamp)
 
static getHumanDateFormat (int $timestamp)
 
static getHumanTimeFormat (int $timestamp)
 

Подробное описание

См. определение в файле datetime.php строка 14

Методы

◆ formatDateTime()

static formatDateTime ( $stamp,
?string $format = null )
staticprotected

Converts timestamp into the time string in site format without any additional decorations

Аргументы
$stamp
bool | string$formatin php notation
Возвращает
string

См. определение в файле datetime.php строка 35

◆ getDateTimeFormat()

static getDateTimeFormat ( )
staticprotected

См. определение в файле datetime.php строка 64

◆ getDateTimestamp()

static getDateTimestamp ( \Bitrix\Main\Type\DateTime $date)
staticprotected
Аргументы
\Bitrix\Main\Type\DateTime$date
Возвращает
int

См. определение в файле datetime.php строка 75

◆ getDateValue()

static getDateValue ( ?\Bitrix\Main\Type\DateTime $value = null)
static

См. определение в файле datetime.php строка 16

◆ getHumanDateFormat()

static getHumanDateFormat ( int $timestamp)
staticprotected

См. определение в файле datetime.php строка 99

◆ getHumanDateTimeFormat()

static getHumanDateTimeFormat ( int $timestamp)
staticprotected

См. определение в файле datetime.php строка 91

◆ getHumanTimeFormat()

static getHumanTimeFormat ( int $timestamp)
staticprotected

См. определение в файле datetime.php строка 111