Should I switch to a dark theme UI if the app is used at night?

Should I dynamically change the theming of my application based on ambient lighting?

My app will be used in bright daylight, as well as in a dark movie theatre, or may be opened at night. I searched over the site and haven't yet seen a question that addresses the dynamic switching of themes based on the environment.