I need to query last month data from a database. So I need the first and last date of previous month to be able to make the "between" SQL query.