1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс 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()

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()

getDateTimeFormat ( )
staticprotected

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

◆ getDateTimestamp()

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

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

◆ getDateValue()

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

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

◆ getHumanDateFormat()

getHumanDateFormat ( int $timestamp)
staticprotected

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

◆ getHumanDateTimeFormat()

getHumanDateTimeFormat ( int $timestamp)
staticprotected

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

◆ getHumanTimeFormat()

getHumanTimeFormat ( int $timestamp)
staticprotected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/socialnetwork/lib/helper/ui/datetime.php