log date and time format