added main, remaining: overloading of the operator<< for date