#set( $currentDate = 'June 1,2016')
#set( $SettleDate = 'Dec 1,2016')
#if( $currentDate < $SettleDate)
<li>xyz</li>
#end
答案 0 :(得分:1)
您可以将comparison tool与difference
功能
$date.difference('2016-12-01','2016-06-01')
或whenIs
$date.whenIs('2016-12-01','2016-06-01')