Dear Sqr,
I want to print the time to be delay by 5 seconds from the current time so I tried this but it does not work and keep showing me 1970-01-01 07:30:00
strftime(buff, 20, "%Y-%m-%d %H:%M:%S", localtime(&tv.tv_sec - 5));
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
newbie14
0
Posting Pro
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
newbie14
0
Posting Pro
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
L7Sqr
227
Practically a Master Poster
newbie14
0
Posting Pro
newbie14
0
Posting Pro
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.