Skip to content

cPeriod::SetLast()

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

Method SetLast( )

 public   mixed libdatephp\cPeriod::SetLast($oLast)

SetFirst() sets the ending date of the period of time

Example:

use libdatephp;

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

$p->SetLast( new cDate( 12, 23, 2017 ) );

Arguments

  • $oLast mixed

Clone this wiki locally