Time problem!
#8

Now i got another problem the time is 22:44 but in samp it shows -02:44
and date must 01/12/2012 but in samp it show 02/12/12
code:
public settime(playerid)
{
new string[256],year,month,day,hours,minutes,seconds;
getdate(year, month, day), gettime(hours, minutes, seconds);
format(string, sizeof string, "%02d/%02d/%02d", day, month, year);
TextDrawSetString(Date, string);
format(string, sizeof string, "%02d:%02d:%02d", hours-2, minutes, seconds);
TextDrawSetString(Time, string);
}
Reply


Messages In This Thread
Time problem! - by Baumann - 01.12.2012, 12:05
AW: Time problem! - by Skimmer - 01.12.2012, 12:42
Re: Time problem! - by Konstantinos - 01.12.2012, 12:52
Re: Time problem! - by Baumann - 01.12.2012, 14:09
Re: Time problem! - by Baumann - 01.12.2012, 14:28
Re: Time problem! - by InfiniTy. - 01.12.2012, 14:34
Re: Time problem! - by Konstantinos - 01.12.2012, 14:36
Re: Time problem! - by Baumann - 01.12.2012, 19:24
Re: Time problem! - by dr.lozer - 01.12.2012, 19:28

Forum Jump:


Users browsing this thread: 2 Guest(s)