views:

56

answers:

2

For example :
input = 360 seconds
output = 6 minutes

input = 86400
output = 1 day

Is there a built-in method for this.
I did find something similar here.

Just want to know if there is a built-in method?

+1  A: 

As far as I know, there is no built-in method to achieve this.

M.A. Hanin
A: 

not per se, but the use of the Date class makes this pretty straight-forward.

back2dos