Skip to content

cDate::Dec()

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

Method Dec( )

 public   mixed libdatephp\cDate::Dec()

Dec() increments the managed date ( sets the date to the previous day)

Example:

use libdatephp;

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

$dt->Dec( );

See also

Clone this wiki locally