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