Hi guys,
i would like to convert a 4 digit number (eg 0824) into a time so that i can find the length of time between two times.
=> so 0824 and 0927 gives 1 hour and 3 minutes
i have found a function in the time.h library => difftime=(time_t timeB, time_t timeA)
but im unsure as to how to declare the numbers etc.
if anyone has any ideas, or good sites for information, i would be very grateful.
thanks