Skip to content

cDateTime::SkipDays()

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

Method SkipDays( )

 public   mixed libdatephp\cDateTime::SkipDays(integer $days)

SkipDays( ) adds $days days to the timestamp

Example:

use libdatephp;

$dtm = new cDateTime( '2016-12-22 05:00:00' );

$dtm->SkipDays( 14 );

Arguments

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

Clone this wiki locally