I want to create a progressbar which progress (in %) is influenced by the time between a timestamp in the past.
Timestamp one would be 1382377800.
Timestamp two would be 1382377860
Those are 60 seconds. The first one should represent 0%, the other one 100%.
I know I have to divide it somehow and multiply it, but can't figure it out.
1382377830 should be 50% then :i