It is not necessary to make the intention for a voluntary fast during the night
❀ «عن عائشة رضي الله عنها، قالت: دخل على النبى صلى الله عليه وسلم ذات يوم فقال: هل عندكم شيء؟ فقلنا: لا، قال: فإني إذن صائم، ثم أتانا يوما آخر، فقلنا: يا رسول الله صلى الله عليه وسلم، أهدي لنا حيس، فقال: أرينيه، فلقد أصبحت صائما، فأكل”.»
Aisha (may Allah be pleased with her) says that one day the Prophet ﷺ came to me and said: “Do you have anything?” We said: “No.” He ﷺ said: “Then I am fasting.” Then he came to us on another day, and we said: “O Messenger of Allah! A gift of hays has been brought to us.” He ﷺ said: “Show it to me. I had begun the morning intending to fast.” Then he ﷺ ate it.
Note: This shows that the intention for a voluntary fast can be made even after the break of dawn, provided that he has not eaten or drunk anything since the break of dawn.