compiling date/time
Hey, Yang. I see your problem. Not entirely sure, but try this.
Also, I'll leave you a link to StackOverflow, where there is a whole thread about this: https://stackoverflow.com/questions/997946/how-to-get-current-time-and-date-in-c/site check this source