Calculating time from timestamps
Can you treat timestamps like numbers, adding and subtracting, then converting the result to a readable time?
For example, I' have a program to keep track of the time I spend on a project. I have a button that makes a timestamp when I start and another when I finish. This works great, but if I work past midnight, my second timestamp value is less than my first, leading to a negative value.