cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Compare date with current system date.
Compare date with current system date.
Feb 3, 2011 at 5:45am UTC
subrat7551
(4)
Hi,
I have a date in tm format. how can I compare with the current system date. I just want to compare tm_year, tm_mon, tm_mday.
Feb 3, 2011 at 11:06am UTC
kbw
(9488)
You need to read on C time functions.
http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_19.html
http://www.codingunit.com/c-tutorial-how-to-use-time-and-date-in-c
Topic archived. No new replies allowed.