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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -