I am writing an SQL query to get the available data between the first date and last date of the current month in python. For this how can I get first and last date of current month.
Note: In the question that already asked in stackoverflow only deals with end date. Also, I want the answer as a date field like 01-03-2016 or 31-03-2016.