JLBorges: Thank you for rely.
Paolettl301: Thank you for rely too
I have other question: How can i convert the military time into minutes and hour?
Since it like 1420? 0000? how can I spilt them in min and hour?
Last edited on
Divide by 1420 by 100 and you get 14. 1420 / 100 == 14
Take the remainder of the division and you get 20. 1420 % 100 == 20
about if it 0000 == 12:00 (Midnight)?
Last edited on
if
{
//time is 0000
}
else
{
//calculate
}