You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
257 B

#include "Date.h"
Date::Date(int year, int month, int day)
{
this->year = year;
this->month = month;
this->day = day;
}
string Date::ShowDate()
{
return to_string(this->year) + "-" + to_string(this->month) + "-" + to_string(this->day);
}