The best time to go to Madeira may well be the spring. During March, April and May and especially towards the end of the season you're looking at shorts and T-shirt weather, though there is the risk of heavy rain now and again. The foliage you will pass while walking is especially vivid in spring.