python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Conversion of Local Time to GMT/UTC, and back GMT/UTC to Local Time in C++
The problem of conversion from GMT/UTC to local time in C++ is tricky because of daylight saving. To solve the daylight saving problem there must be a table for every country and zone, since daylight ...
PKallback
Votes: 0
Answers: 0
ctime lib, pointer in C++
tm *ltm = localtime(&now);
cout << "Year: "<< 1900 + ltm->tm_year << endl;
in ctime lib
why we must use ltm->tm_year but can't use *1tm.tm_year
EllieHz
Votes: 0
Answers: 1
How to get the expiration date based on week code not on current date using c++
How will I get the expiration date of an item, which is based on week code? Whenever I run the code that I made, the program reads the current date and disregards the week code. For example:
Week Code...
PJiwon
Votes: 0
Answers: 1