Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

maindate.cpp

Go to the documentation of this file.
00001 #include "../Interface/main.h"
00002 #include "../common/date.h"
00003 #include <iostream>
00004 
00005 using namespace std;
00006 
00007 bool maindate(void) {
00008         Date d=Date();
00009         d.setDateToToday();
00010         cout<<"Today's date is :"<<endl;
00011         cout<<d.toString()<<endl;
00012         if (d.lastDayOfMonth()!=30 || d.lastDayOfMonth()!=31) {
00013                 return false;
00014         } else return true;
00015 }

Note: Generated nightly - reload for latest version
Generated on Thu Dec 22 23:12:36 2005 for terreneuve by doxygen 1.3.6