Unix timestamp format
#1

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"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)