Feng Jiayun : add the time function