-
Notifications
You must be signed in to change notification settings - Fork 0
cPeriod::Set()
Rainer Stötter edited this page Apr 28, 2017
·
15 revisions
public mixed libdatephp\cPeriod::Set(\libdatephp\cDate $oFirst, \libdatephp\cDate $oLast)
- Namespace : libdatephp
- Class name: cPeriod
- This method is defined by libdatephp\cPeriod
Set() changes the values of the period of time
Example:
use libdatephp;
$p = new cPeriod( new cDate( 11, 23, 2016 ), new cDate( 11, 25, 2016 ) );
$p->Set( new cDate( 11, 23, 2017 ), new cDate( 11, 27, 2017 ) );
- $oFirst libdatephp\cDate - <p>the starting point of the period of time</p>
- $oLast libdatephp\cDate - <p>the ending date of the period of time</p>
This wiki page is part of the documentation of the PHP class library libdatephp