Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
bool b = d1 < d2;
bool b = d1.isBefore(d2);
boolean b = d1.before(d2)
let b = d1 < d2
$d1 = new DateTime('January 25 2016');
$d2 = new DateTime('January 26 2016');
$b = $d1 < $d2;
my $b = d1 < d2;
b = d1 < d2