Tidy up treatment of ctime.