Bitrix API

Date

Table of Contents

Methods

format()  : string
getDateFormat()  : array<string|int, mixed>|string

Methods

format()

public format(mixed $date[, bool $formatTime = false ]) : string
Parameters
$date : mixed
$formatTime : bool = false
Return values
string

getDateFormat()

public getDateFormat(string|null $type) : array<string|int, mixed>|string
Parameters
$type : string|null
Return values
array<string|int, mixed>|string

        
On this page

Search results