used ctime and asctime/gmtime