DateFunction
Table of Contents
Methods
-
dateAdd()
: mixed
-
dateDuration()
: mixed
-
dateSubPart()
: mixed
-
day()
: mixed
-
formatDate()
: mixed
-
hour()
: mixed
-
minute()
: mixed
-
month()
: mixed
-
second()
: mixed
-
weekDay()
: mixed
-
year()
: mixed
dateAdd()
public
dateAdd(mixed $number[, DateSubPartKind $interval = DateSubPartKind::DAY ]) : mixed
Parameters
-
$number
: mixed
-
-
$interval
: DateSubPartKind
= DateSubPartKind::DAY
-
dateDuration()
public
dateDuration(mixed $to[, DateSubPartKind $datePart = DateSubPartKind::DAY ]) : mixed
Parameters
-
$to
: mixed
-
-
$datePart
: DateSubPartKind
= DateSubPartKind::DAY
-
dateSubPart()
public
dateSubPart(mixed $kind) : mixed
Parameters
-
$kind
: mixed
-
day()
public
day() : mixed
public
formatDate(mixed $format[, mixed $kind = 0 ][, mixed $toTimeZone = "" ][, mixed $fromTimeZone = "" ]) : mixed
Parameters
-
$format
: mixed
-
-
$kind
: mixed
= 0
-
-
$toTimeZone
: mixed
= ""
-
-
$fromTimeZone
: mixed
= ""
-
hour()
public
hour() : mixed
minute()
public
minute() : mixed
month()
public
month() : mixed
second()
public
second() : mixed
weekDay()
public
weekDay() : mixed
year()
public
year() : mixed