I am wondering if there is a way to use time.h and any other libraries to find out the current month, day, and year. if anyone knows, please post. Thanks.
p.s. i'm looking to put each of these into a variable, like int month=//month, day=//day, year=//year; something like that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am wondering if there is a way to use time.h and any other libraries to find out the current month, day, and year. if anyone knows, please post. Thanks.
p.s. i'm looking to put each of these into a variable, like int month=//month, day=//day, year=//year; something like that.
You might find this reference useful:
http://iel.ucdavis.edu/people/cperez/test13/node3.html
There are many others if you just google for time.h functions.
Wayne