Your job is to write a class called Date that has integer data members to store the day, month and
Your job is to write a class called Date that has integer data members to store the day, month and year. All data members should be private. Member functionsAll member functions should be…