Get Time
#1

Problem: i want the hour:minute for my location,not for my host.
In my location si now: 11:03
And on my host location is: 04:03



Code for /time command:

Код:
new hour,minute,second;
	gettime(hour,minute,second);
	format(string, sizeof(string), "Acum e ora %d:%s%d si %d secunde.", hour, (minute < 10) ? ("0") : (""), minute, second);
Reply


Messages In This Thread
Get Time - by Longover - 02.03.2019, 08:03
Re: Get Time - by Longover - 02.03.2019, 08:14
Re: Get Time - by Longover - 02.03.2019, 08:43
Re: Get Time - by Jeffry - 02.03.2019, 09:02
Re: Get Time - by Longover - 02.03.2019, 09:38
Re: Get Time - by Jeffry - 02.03.2019, 10:14
Re: Get Time - by Longover - 02.03.2019, 10:26
Re: Get Time - by Jeffry - 02.03.2019, 10:38
Re: Get Time - by Longover - 02.03.2019, 10:47
Re: Get Time - by Jeffry - 02.03.2019, 14:29
Re: Get Time - by Jeffry - 02.03.2019, 19:57
Re: Get Time - by Jeffry - 03.03.2019, 11:50
Re: Get Time - by Jeffry - 03.03.2019, 18:15
Re: Get Time - by masuzaron - 03.03.2019, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)