I need to write a program that converts timestamp to hour and days

I need to write a program that converts timestamp to hour and days. Please help any one?
Please help someone
strftime
Topic archived. No new replies allowed.