Demo for Date class.