I am using this code to extract the hour minutes and seconds ,and i have given the code inside the loop and i have noticed that while running the code the time does not changes for each and every loop (even the seconds remains same for every loop )
datetime = DateTimeUtil::getSystemDateTime();
filenameToRet = (int2str(DateTimeUtil::year(datetime)))+(int2str(DateTimeUtil::month(datetime)))+(int2str(DateTimeUtil::day(datetime)))+(int2str(DateTimeUtil::hour(datetime)))+(int2str(DateTimeUtil::minute(datetime)))+(int2str(DateTimeUtil::second(datetime)))
Any one please give me the solution
*This post is locked for comments
I have the same question (0)