I have received three different unixtimes
lastSeen = 1416248381
firstSeen = 1416248157
and the last one is lastSeen - firstSeen:
duration = 224
Now, I can convert lastSeen and firstSeen into a datetime no problem. But I am having trouble with the duration.
I am unsure how to convert the duration into something like minutes/seconds. Does anyone have any idea if this can be done?