Are there any functions built in C to display the current time and date, and if there is could someone display its syntax
Thanks.....
ChrisXxX
0
Newbie Poster
Recommended Answers
Jump to Postyes, C is full chock full of time functions. just check out the standard <time.h> library
Jump to Postman, you're starting to sound helpless. the link i gave you gives every single time.h function and prototype. a basic search will find examples such as this:
/* localtime example */ #include <stdio.h> #include <time.h> int main () { time_t rawtime; struct tm * …
All 6 Replies
jephthah
1,888
Posting Maven
ChrisXxX
0
Newbie Poster
jephthah
1,888
Posting Maven
ChrisXxX
0
Newbie Poster
jephthah
1,888
Posting Maven
ChrisXxX
0
Newbie Poster
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.