Is there an easy way to convert time to different formats? For example, I have the current date/time that is represented by the number of seconds that have elapsed since 00:00:00 Jan. 1, 1970 and want to convert it to a nice form to show the user. I wrote a function that does it but thought I would see if there was an easier way of doing it.
time.h has a number of functions that may be helpful. Many of the functions in it use structs, but once you figure that out, there are a lot of standard functions premade for you.