Skip to content

cPeriod::GoBOW()

Rainer Stötter edited this page Apr 28, 2017 · 9 revisions

Method GoBOW( )

 public   mixed libdatephp\cPeriod::GoBOW()

GoBOW() moves the whole managed period of time to the beginning of the week of the starting date starting and ending date are changed and the length of the period of time will be kept.

Example:

use libdatephp;

$p1 = new cPeriod( new cDate( 11, 23, 2016 ), new cDate( 11, 25, 2016 ) );

$p1->GoBOW( );

Clone this wiki locally