It doesn't have an inbuilt function (but I am sure they are in libraries)
BUT surely it is this
int totalMin=890;
int min=total % 60 ;
int hour = (total / 60) % 24;
// etc
not exactly difficult to put into a function.
(A fraction of care is needed if using double values but the same principle.)
Reputation Points: 749
Solved Threads: 135
Practically a Master Poster
Offline 660 posts
since Nov 2008