CTime plugin problem
#1

I have problem with convert gettime to date. When i do this:

Код:
new tm<tmTime>;
gmtime(Time:convertSecond, tmTime);
format(str, sizeof(str), "%02d.%02d.%d %02d:%02d", tmTime[tm_mday], tmTime[tm_mon], tmTime[tm_year], tmTime[tm_hour], tmTime[tm_min]);
printf(str);
return this:

Код:
30.05.113 18:58
The convertSecond look like this:
Код:
gettime()+60*60*24*30
How to fix it? Help me please.
Reply
#2

anyone? pls ;/
Reply
#3

Where is the problem btw? Year? The complete date?
Reply
#4

Yeah, the date should look like this:

Код:
30.06.2013 18:58
that showed the date of which will be for the monthh
Reply
#5

I need this, help me. ;(
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)