My water temp changes during the day is this ok for my betta?

It was realy warm this afternoon and now it turned colder .. can it kill my betta?

Thanks.