Formated date and time to local and printed to log