The PVR backend (as the server side part), which directly communicates with a TV tuner adapter(s) to receive the Live TV signals and create a video or audio stream, and also record to files.
1. Convert time between hour, minute, second, or day with conversion factor. As we known, 1 hour = 60 minutes = 3600 seconds =1/24 day. So we can convert the time measurement with multiplying these factors. Convert between hours to seconds:
Since there are 24 hours in a day, converting to hours is a simple multiplication 24 * 1.3333 = or 32 hours. (24 * 4/3 to be more precise) Finding the number of hours between two date/times is simple, just subtract the start date/time from the end date/time and multiply the result by 24 hours.