core - How to compare two different dates in velocity in Java? -
#set( $currentdate = 'june 1,2016') #set( $settledate = 'dec 1,2016') #if( $currentdate < $settledate) <li>xyz</li> #end
you can use comparison tool difference
function
$date.difference('2016-12-01','2016-06-01')
or whenis
$date.whenis('2016-12-01','2016-06-01')
Comments
Post a Comment