Measure time in c, Time and Date In C, you can use the <time