do you think this can affect server performance?
--
i made a small change and recompile voron00 libcod
PHP Code:
void gsc_utils_getlocaltime()
{
time_t timer;
struct tm *timeinfo;
time(&timer);
timeinfo = localtime(&timer);
char timestring[256];
strftime(timestring, sizeof(timestring), "%d/%m/%Y %H:%M", timeinfo);
char stripped_time[128];
strncpy(stripped_time, timestring, sizeof(stripped_time));
stripped_time[strlen(timestring) - 1] = '\0';
stackPushString( stripped_time );
}