Tagged Questions
4
votes
3answers
1k views
Convert seconds to well format date
I want to display /proc/uptime in well format as:
DD:HH:MM:SS
/proc/uptime give me up time of system in seconds, is there a standard solution that convert seconds to this format?