Daylight cycle

The day/night cycle is a 20 minute long lapse between two main light settings.

Daytime
Daytime is the longest section of the cycle, lasting 10 minutes.
 * When a player first spawns in Infdev, Alpha, and Beta the cycle will always start right at the beginning of daytime.
 * Daytime features the Sun, and a light blue sky.
 * During daytime, all blocks that are in direct vertical view of the sky receive daylight, the strongest light possible, which is light level 15.
 * Daylight provides ample light for the growth of all trees and crops.
 * Zombies and Skeletons in direct view of the sky (and not in water or ice) during daytime will be set on fire.

Sunset
Lasts 1 ½ minutes.
 * A period between daytime and nighttime, when the Sun sets on the West horizon, and the Moon rises on the East horizon.
 * All blocks that are in direct vertical view of the sky get 1 shade of lighting darker every 10 seconds.
 * The sky will have a red glow when the sun sets.

Nighttime
Lasts 7 minutes.
 * During nighttime the world is covered in darkness with a light level of 4, and hostile mobs may spawn on the surface.
 * Nighttime features the Moon, and a dark black sky, with white stars.

Sunrise
Lasts 1 ½ minutes.
 * A period between nighttime and daytime, when Moon sets on the West horizon, and the Sun rises on the East horizon.
 * All blocks that are in direct vertical view of the sky get 1 shade of lighting brighter every 10 seconds.
 * The sky will have a red glow when the sun rises.

Clock
In the Halloween Update, Notch added a clock that lets you tell the time in the "Minecraft" world. It's crafted like this:



Note: The clock will not work in the Nether, due to the fact that the Nether does not receive Day or Night.