Hi all,
I want to know the below date in javascript
From current year,How to find previous year and month based on the given input
Note: count of month should be a 12 month.
Expected output:
input : 2016-04-26
output: 2015-05-26 // this is for output
please drop me a solution for this.
thanks in advance.