Time sync
#1

I found that code on my script (based GF) and i understood it belongs to time about GMT...

Код:
public FixHour(hour)
{
	hour = timeshift+hour;
	if (hour < 0)
	{
		hour = hour+24;
	}
	else if (hour > 23)
	{
		hour = hour-24;
	}
	shifthour = hour;
	return 1;
}
I have clock textdraw of hour,minutes,seconds for example: 17:46:32
So my problem is the time is on delay of 1 hour instead of advance 1 hour

the original is: 16:46:32
i want to change it to 17:46:32

Thanks
Reply


Messages In This Thread
Time sync - by Lidor124 - 02.02.2014, 14:37
Re: Time sync - by Misiur - 02.02.2014, 14:45
Re: Time sync - by Lidor124 - 02.02.2014, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)