Please anyone share the code to find the previous month's first date from current date in JavaScript. For example, if the current date is 25th Jan 2009, I should get 1st Dec 2008 as result.
Duplicate of: http://stackoverflow.com/questions/605113/find-first-day-of-previous-month-in-javascript