Skip to content

cDateStrategyNoInterval::AddDate()

Rainer Stötter edited this page May 17, 2017 · 14 revisions

Method AddDate( )

 public   boolean libdatephp\cDateStrategyNoInterval::AddDate(\libdatephp\cDate $date_obj)

The method AddDate( ) adds a date $date_obj to the managed dates

If the starting date is not null and $date_obj is less than the starting date, than $date_obj will not be added. If the ending date is not null and $date_obj is gretaer than the ending date, than $date_obj will not be added.

Arguments

Returns

boolean true, if $date_obj was added

See also

Clone this wiki locally