Edit to fit with time.h convention