How can I filter last year(last 12 months) in array. Format date is MM/yyyy. Below my code is not working.
int res = 0; Date FN_TO_DAY= F.currentDate(); if