Skip to content

cDate::Skip()

Rainer Stötter edited this page May 9, 2017 · 15 revisions

Method Skip( )

 public   mixed libdatephp\cDate::Skip(integer $count)

Skip() adds / subtracts $count days to / from the managed date

Example:

use libdatephp;

$dt = new cDate( 11, 23, 2016 );

$dt->Skip( -14 );

Arguments

  • $count integer - <p>the number of days to add / subtract from the date</p>

See also

Clone this wiki locally