-
Notifications
You must be signed in to change notification settings - Fork 0
cDate::AddDays()
Rainer Stötter edited this page Apr 28, 2017
·
14 revisions
public mixed libdatephp\cDate::AddDays(integer $diff)
- Namespace : libdatephp
- Class name: cDate
- This method is defined by libdatephp\cDate
AddDays() adds / subtracts $diff days to / from the managed date
Example:
use libdatephp;
$dt = new cDate( 11, 23, 2016 );
$dt->AddDays( 12 )->AsSQL( );
- $diff integer - <p>the number of days to add / subtract. It defaults to 1</p>
This wiki page is part of the documentation of the PHP class library libdatephp