I have made a date program. I need it to do three things now:
1. Return the previous dates, (0, 1, 2, 3... Days ago)
2. Skip the weekends.
3. Skip these holidays:
New Year's Day (Jan 1)
MLKJ Day (Jan 18)
Pres. Day (Feb 15)
Good Friday (Apr 2)
Memorial Day (May 31)
Indep. Day (Jul 5 observed)
Labor Day (Sep 6)
Thanksgiving Day (Nov 25)
Christmas (Dec...
Search Result
Collapse
2 results in 0.0022 seconds.
Keywords
Members
Tags
-
Why does my dateclass class gives the wrong date?
-
Why does this not compare 2 strings and how do I fix it?
This is a class in my code:
...Code:#include <string> typedef unsigned short ushort; using namespace std; class numvalue { private: ushort day; ushort month; ushort year; char number; string str_month; string curdate; public: numvalue(){}; ushort getmonth(string curdate) {