extend time.h