You need to sign in to do that
Don't have an account?
Azusfdc
My requirement first need to get dynamic date values from past 2 years that should be added in a list of selectoptions and date in format of Feb-2016 could any body help ?
James Loghry
If you want to do this via Apex, you could use the Datetime.now variable and the addMonths method, looping through the past 24 months. Then you'd use Datetime's format('formatString') method to format the Month / Year. Here's an untested example: