From any given date in a month I am wanting to work out the start and end dates of the previous month.
For example, in a unix shell script that I am running anytime in November I want to end up with the following two values :
start_date = "20071001"
end_date = "20071031"
Is this possible?