#include<iostream>
#include"Date.h"

using namespace std;

int main()
{
	
	string date;
	cout<<"Input date 1 in format m/d/yyyy: ";
	cin>>date;
	Date d4(date);
	cout<<"Input date 2 in format d/m/yyyy: ";
	cin>>date;
	Date d5(date);
	cout<<"The number of days between ";
	d4.printVerbose();
	cout<<" and ";
	d5.printVerbose();
	cout<<" is "<<abs(d5.daysSinceStart()-d4.daysSinceStart())<<endl;


	//cout<<d.dayOfTheYear()<<"  "<<d.daysSinceStart()<<endl;

	//cout<<d.dayOfTheWeek()<<endl;

	//cout<<d1.dayOfTheWeek()<<endl;

	Date d1("1/1/2008");

	Date d2("1/1/2005");
	


/*	for(int i=d2.daysSinceStart();i<=d1.daysSinceStart();i++)
	{
		Date d=daysToDate(i);
		if( ( i % 7==5)&& d.getDay()==13)
		{

			d.printVerbose();
			cout<<"will be an unlucky day"<<endl;
		
	
		}
	}*/

	return 0;

}
