-
Notifications
You must be signed in to change notification settings - Fork 0
cPeriod::NthWeek()
Rainer Stötter edited this page May 9, 2017
·
10 revisions
public integer libdatephp\cPeriod::NthWeek()
- Namespace : libdatephp
- Class name: cPeriod
- This method is defined by libdatephp\cPeriod
NthWeek() returns the number of the week the ending date is calculated from the beginning of the period of time
Example:
use libdatephp;
$p1 = new cPeriod( new cDate( 11, 23, 2016 ), new cDate( 11, 25, 2016 ) );
echo $p1->NthWeek( );
integer the number of full weeks
This wiki page is part of the documentation of the PHP class library libdatephp