I am taking parameter as date in front end and I am comparing it with database through view object through executeParams. But both the date formats are different, that's why I can't compare both formats. Please suggest me to compare both formats in dd-MM-yy format. I am taking parameter by inputDate component.
usually you compare dates not by their formats but their milisecodns. For this each Date type allows you a conversion to its representation in milliseconds. E.g. java.util.Date has a method getTime(). Similar jbo.domain.Date also exposes such a method