Although the temple remains open from 07:00 AM to 07:00 PM, you must pick your time between 06:00 PM to 07:00 PM when you can enjoy a great view of the setting sun.
Suggested Read: Places to Visit in North Bali