-
Notifications
You must be signed in to change notification settings - Fork 0
cDate::eq()
Rainer Stötter edited this page May 9, 2017
·
15 revisions
public boolean libdatephp\cDate::eq(mixed $cmp)
- Namespace : libdatephp
- Class name: cDate
- This method is defined by libdatephp\cDate
eq() aka "equals" returns true, if the date is the same as the date in the parameter
Example:
use libdatephp;
$dt = new cDate( 11, 23, 2016 );
if ( $dt->eq( cDate( ) ) ) do_someting( );
- $cmp mixed - <p>timestamp or cDate</p>
boolean returns true, if both dates are equal
This wiki page is part of the documentation of the PHP class library libdatephp