How can i adjust the hour?
#5

Quote:
Originally Posted by sampmann
Посмотреть сообщение
Thanks for the tip when i posted i didn't found the button to insert pawn codes

The problem im facing on this is one is that if i just add += 5 to the hours, the format will be incorrect, for example
Its ok if its 17:00 and i add 5, will be 22:00
But if its 22:00 and i add 5 will be 27:00 on the clock so it will be wrong because it should turn to 3:00 but it doesn't
I dont know how to adjust it correctly
If hours above 24 you should increase current date and subtract 24 from current hours.
Reply


Messages In This Thread
How can i adjust the hour? - by sampmann - 20.12.2012, 17:26
Re: How can i adjust the hour? - by Alexander_Petrov - 20.12.2012, 17:44
Re: How can i adjust the hour? - by sampmann - 20.12.2012, 17:53
Re: How can i adjust the hour? - by Alexander_Petrov - 20.12.2012, 17:57
Re: How can i adjust the hour? - by Alexander_Petrov - 20.12.2012, 18:04
Re: How can i adjust the hour? - by sampmann - 20.12.2012, 18:14
Re: How can i adjust the hour? - by Alexander_Petrov - 20.12.2012, 18:29
Re: How can i adjust the hour? - by sampmann - 20.12.2012, 18:46
Re: How can i adjust the hour? - by Alexander_Petrov - 20.12.2012, 18:52
Re: How can i adjust the hour? - by sampmann - 20.12.2012, 19:02

Forum Jump:


Users browsing this thread: 2 Guest(s)