Came up with this, However some input would be nice! Anything that I have to change or make better please feel free. Thank you.
time_t currentTime;
class="highlight">
struct tm * ptm= localtime(¤tTime);
int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; char *tm_zone; zone
int tm_gmtoff;
char tod;
tod = tm_sec;
if ( tod <= time_t - 5 tm_sec )
remove ( "^__strong class="highlight">*.txt to delete" );