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