Aizaz 0 Newbie Poster
Recommended Answers
Jump to PostWell, the most widely supported method would be the ctime library:
#include <ctime> #include <iostream> #include <utility> #include <string> using namespace std; pair<string, int> weekday(int month, int day, int year) { tm date = {0}; // Set the date properties date.tm_mday = day; date.tm_mon = month - …
All 2 Replies
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
NathanOliver commented: Awesome Formula +13
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.