-
Notifications
You must be signed in to change notification settings - Fork 0
cDateISO::AddDays()
Rainer Stötter edited this page May 9, 2017
·
1 revision
public mixed libdatephp\cDate::AddDays(integer $diff)
- Namespace : libdatephp
- Class name: cDateISO
- 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