AnsweredAssumed Answered

Date function in velocity code

Question asked by Hemaprasath Jinakaran on Sep 17, 2019

I want to compare to date using if else condition, below is the code that I tried and ended with the error

#set ($sortedList = $sorter.sort($!productActivityList.productDescription,"createdAt:desc"))
#set ($prodSubFamily = $sortedList[0].productDescription)


Basically I want to compare sysdate-89=datecolumn


Please let me know the correct syntax for it