The aclock program displays an analog clock widget. See also the dclock sample that displays a digital LCD clock and can switch between time and date.