Time to invest in wind and solar mayor says