User:Potentials/TIME

This computes the time left in the day.

Time now

 * Time Stamp:
 * Hour:
 * Minute:
 * Second:

Remaining time (Simple but buggy)

 * hours minutes and  seconds

[ Click here to update] (Refreshing this page won't do it)

Remaining time (Very complicated but accurate)

 * hours minutes and  seconds

Explanation:

Is it 60 seconds?

 * X!=0?
 * X=0?

Seconds remaining corrected

 * (X!=0?)*(60-X)

Is it 60 minutes?

 * Z!=60?
 * Z=60?