20.05.2012, 23:26
I need to find something that can convert the difference from a unix timestamp, till today, into a readable string.
Such as:
printf("The time since today and %d is %s", sometimeago, ReturnTimeDiffernce(sometimeago));
Would print out:
"The time since today and 521521515 is 3 Days, 3 Hours, 45 Minutes and 3 Seconds"
Such as:
printf("The time since today and %d is %s", sometimeago, ReturnTimeDiffernce(sometimeago));
Would print out:
"The time since today and 521521515 is 3 Days, 3 Hours, 45 Minutes and 3 Seconds"