Hey,
How will I calculate the hours into percentages. I tryed:
PHP Code:
new hour = get_user_time() / 3600
new percent = hour * 100 / 25
Maybe its * 60 because a hour has 60 minutes? but I dont know.
But if i will do that i will come out on 60% max when the user has reached the max time. I want that it goes max to 100%