Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18347

Re: How to get current time

$
0
0

Time.h is case sensitive as would ctime - ensure <time.h>

although you declared your cTime varable as a char array of [22],

cTime was not filled with a value,

as was year() .. sec()  resulting in their default values giving you a 1970 datetime


Viewing all articles
Browse latest Browse all 18347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>