title: Getting the previous month's first date from current date in JavaScript
body: <p>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.</p>