Properties

$year

$year : 

Type

$month

$month : 

Type

$day

$day : 

Type

$hour

$hour : 

Type

$minute

$minute : 

Type

$second

$second : 

Type

$millisecond

$millisecond : 

Type

Methods

PHPRPC_Date()

PHPRPC_Date() 

addMilliseconds()

addMilliseconds(  $milliseconds) 

Parameters

$milliseconds

addSeconds()

addSeconds(  $seconds) 

Parameters

$seconds

addMinutes()

addMinutes(  $minutes) 

Parameters

$minutes

addHours()

addHours(  $hours) 

Parameters

$hours

addDays()

addDays(  $days) 

Parameters

$days

addMonths()

addMonths(  $months) 

Parameters

$months

addYears()

addYears(  $years) 

Parameters

$years

after()

after(  $when) 

Parameters

$when

before()

before(  $when) 

Parameters

$when

equals()

equals(  $when) 

Parameters

$when

set()

set() 

time()

time() 

toString()

toString() 

__toString()

__toString() 

dayOfWeek()

dayOfWeek() 

dayOfYear()

dayOfYear() 

now()

now() 

today()

today() 

parse()

parse(  $dt) 

Parameters

$dt

isLeapYear()

isLeapYear(  $year) 

Parameters

$year

daysInMonth()

daysInMonth(  $year,   $month) 

Parameters

$year
$month

isValidDate()

isValidDate(  $year,   $month,   $day) 

Parameters

$year
$month
$day

isValidTime()

isValidTime(  $hour,   $minute,   $second) 

Parameters

$hour
$minute
$second