Write date and time as debug