Get the previous month value in MMM-yyy format

I need a Script to Get the previous month value in MMM-yyy format.

Please help

@karan_singh2a you can find a script for modifying the month in the date here:
https://kb.workfusion.com/display/RPAe/Code+Samples#CodeSamples-ModifyingtimeperiodYellowWorkFusion

Then you just need to convert it to the correct format using Date Format action

Thanks alot Alesia for your constant support.

God bles you