Minecraft wiki entry for Sun, associated text: Sunlight can be used to turn dirt blocks into grass blocks, as long as there is an illuminated grass block adjacent to the dirt. Grass blocks spread quickest when exposed to sunlight at the high-point of the day (time 6000).