#include <time.h>
#include <stdlib.h>
#include <stdio.h>
void FormatCurrentTimeString(char* pszCurrTime, int nCurrTimeSize)
{
time_t now;
time(&now);
strftime(pszCurrTime, nCurrTimeSize, "%Y%m%d%H%M%S", localtime(&now));
}
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
void FormatCurrentTimeString(char* pszCurrTime, int nCurrTimeSize)
{
time_t now;
time(&now);
strftime(pszCurrTime, nCurrTimeSize, "%Y%m%d%H%M%S", localtime(&now));
}