There are 1440 minutes in a day and I would like to be able to have this number in a variable, starting with 0 at midnight and counting up from there and resetting again to zero at the next midnight, and updated every minute. I would be using this to drive a series of vintage slave impulse clocks ("school clocks") which increment one minute per switch closure.
To to this I would simple need (the value of the %H timestamp value) x 60 + (the value of the %M timestamp value) inserted in a variable.
The timestamp into variable function does not seem to allow any math operations. Or does it?
Any ideas as to how I can do this?
Eric