Crippled time lib to C
Added time_t compatible functions