Neuron-PHP

DateRange
in package

Object for holding date ranges.

Table of Contents

Properties

$end  : string
$start  : string

Methods

__construct()  : mixed
getLengthInDays()  : int
Returns the number of days between start and end.

Properties

Methods

__construct()

public __construct(string $start, string $end) : mixed
Parameters
$start : string
$end : string

getLengthInDays()

Returns the number of days between start and end.

public getLengthInDays() : int
Return values
int

        
On this page

Search results