I've lost weight doing both, day and night. Doesn't matter as long as I avoid junkfood and RIDE my bike.
1 hour rides 2 or 3 times during the week then a 3-4 hour (60 miles) ride on the weekend does well for me while prepping for a century. I'll usually a 40 miler on Sunday too.