#set( $currentDate = 'June 1,2016')
#set( $SettleDate = 'Dec 1,2016')
#if( $currentDate < $SettleDate)
<li>xyz</li>
#end
您可以使用比较工具与
difference
功能
$date.difference('2016-12-01','2016-06-01')
或者
whenIs
$date.whenIs('2016-12-01','2016-06-01')