Added timestamp to date-time function