Following calculation in done for one of the field in group in front end. As the performance I would like to do that in the script level. Could you please help me out how to do the same?
=date(trim(if(date >= '$(vMinDate)' and date < '$(vMaxDate)',date)),'DD/MM/YYYY')