The government is up for the fight over net zero every hour, day and month of the year, the energy secretary Ed Miliband has said.