Make the intention to observe Sawm,

Q 5: If someone is observing Sawm (Fast) in Ramadan and is traveling to another country and has nothing but water, how will he break his Sawm?

A: If someone is observing Sawm and the sun sets while he has nothing but water, he should break his Sawm by drinking the water since breaking Sawm by having dates is Mustahab (desirable) but not obligatory.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.