yes it will perfectly work as those cameras designed for day and evening capabilities.

but dont completely rely on it, better to depend on your own skills.