Thread
:
How to accept DateofBirth from user in C/ C++ lang
View Single Post
#
2
(
permalink
)
October 25th, 2007, 10:27 PM
Peter_APIIT
Authorized User
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
First of all, you need to include<time.h>
1. u also need to declare a struct tm variable/object.
2. EXample : struct tm aTime.
3. aTime.day;
4 aTime.months;
5. aTime.year;
I hope this help.
Linux is the best OS in the world.
Peter_APIIT
View Public Profile
Find all posts by Peter_APIIT