hi, just a link to a related article in Linux mag http://www.linux-magazine.com/issue/32/cal_date.pdf best imre