-
Notifications
You must be signed in to change notification settings - Fork 0
cPeriod::GetLen()
Rainer Stötter edited this page Apr 28, 2017
·
9 revisions
public integer libdatephp\cPeriod::GetLen()
- Namespace : libdatephp
- Class name: cPeriod
- This method is defined by libdatephp\cPeriod
GetLen() returns the days between the starting and the ending date The function returns 1, if both dates have the same date
Example:
use libdatephp;
$p = new cPeriod( new cDate( 11, 23, 2016 ), new cDate( 11, 25, 2016 ) );
echo $p->GetLen( );
integer the length of the period of time in days
This wiki page is part of the documentation of the PHP class library libdatephp