Properties

$year

$year : 

Type

$month

$month : 

Type

$day

$day : 

Type

$utc

$utc : 

Type

$hour

$hour : 

Type

$minute

$minute : 

Type

$second

$second : 

Type

$microsecond

$microsecond : 

Type

Methods

__construct()

__construct() 

addDays()

addDays(  $days) 

Parameters

$days

addMonths()

addMonths(  $months) 

Parameters

$months

addYears()

addYears(  $years) 

Parameters

$years

timestamp()

timestamp() 

toString()

toString(  $fullformat = true) 

Parameters

$fullformat

__toString()

__toString() 

isLeapYear()

isLeapYear(  $year) 

Parameters

$year

daysInMonth()

daysInMonth(  $year,   $month) 

Parameters

$year
$month

isValidDate()

isValidDate(  $year,   $month,   $day) 

Parameters

$year
$month
$day

dayOfWeek()

dayOfWeek() 

dayOfYear()

dayOfYear() 

addMicroseconds()

addMicroseconds(  $microseconds) 

Parameters

$microseconds

addSeconds()

addSeconds(  $seconds) 

Parameters

$seconds

addMinutes()

addMinutes(  $minutes) 

Parameters

$minutes

addHours()

addHours(  $hours) 

Parameters

$hours

after()

after(  $when) 

Parameters

$when

before()

before(  $when) 

Parameters

$when

equals()

equals(  $when) 

Parameters

$when

isValidTime()

isValidTime(  $hour,   $minute,   $second,   $microsecond) 

Parameters

$hour
$minute
$second
$microsecond