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