Re: binary search to get time_t for a given time I needed to do this once, and ended up doing what you suggest. It certainly is a kludge. I agree that there should be a function to do this. Please, ANSI, include one. -- Tim Smith sdcrdcf!ism780c!tim || ima!ism780!tim || ihnp4!cithep!tim