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