It is to be stated that if one intends to observe a voluntary fasting on the morning of the day itself, his fasting is valid and he will be rewarded for it. However, the reward he will receive will not be the same as the reward of the one who fasted the whole day. He will be rewarded in the general sense of the reward for fasting during the month of Muharram.
To shed more light on this issue, we would like to cite the following:

“With regard to your question about forming the intention to fast from the night before, there is sound evidence from the Prophet (peace and blessings be upon him) that the intention to observe a voluntary fasting formed on the morning of the day itself is valid, as long as the person has not ingested anything that breaks the fasting after dawn. `A’isha (may Allah be pleased with her) narrated that the Prophet (peace and blessings be upon him) entered upon his family one day and said: “Do you have anything (i.e., any food)?” They said, “No.” He said, “Then, I am fasting.” (Reported by Muslim)

The word idhan (translated here as “then,”) indicates that it is permissible to form an intention to observe a voluntary fast on the day itself. This is unlike the obligatory fasts, which are not valid unless one forms the intention the night before, based on the following hadith, “Whoever does not form the intention to fast before dawn, has not fasted.” (Reported by Abu Dawud and At-Tirmidhi) This Hadith refers to obligatory fasts.

Based on this, your fast is valid. With regard to the question about whether you will receive the reward for fasting for the whole day or from the time of the intention only, Sheikh Ibn `Uthaymeen, said:
there are two scholarly opinions on this matter. The first is that he will be rewarded from the beginning of the day, because the correct Islamic fasting is only from the beginning of the day.
the second view is that he will only be rewarded from the time of his intention, and if he formed the intention at midday then he will be rewarded for half a day. This is the correct view, because the Prophet (peace and blessings be upon him) said, “The reward of deeds depends upon the intentions and every person will get the reward according to what he has intended.”. This man only formed his intention during the day, so he will be rewarded from the time he formed the intention.”

Based on the correct opinion, if a fast is connected to a particular day, such as fasting on Mondays and Thursdays, and fasting on the 13th, 14th and 15th of each Hijri month or fasting three days each month, and the person forms his intention during the day, he will not be rewarded for the entire day. (Al-Sharh al-Mumti`, 6/373).

The same applies to the case of one who did not intend to fast `Ashura’ until after dawn had come. In this case he will not receive the reward for fasting `Ashura’, which is the expiation of one year, because his case is not like that of the person who fasted the whole day. His fast is counted from the moment he first formed his intention to fast.

He will however be rewarded in the general sense of the reward for fasting during the month of Muharram, which is the best kind of fasting after Ramadan.

Perhaps one of the main reasons that you and many others do not know when `Ashura’ is until the day has already started, is as you mentioned, the common use of the Gregorian calendar. Perhaps missing out on these special days will motivate you and others whom Allah blesses with guidance, to follow the lunar Hijri calendar, which Allah has prescribed for His servants and approved of for His religion. Even if it is only with regard to personal dealings, it will serve to revive this calendar, which reminds us of different Shar’i occasions. Doing so will also help us to be different from the People of the Book from whom we are commanded to be different with regard to their rituals and unique characteristics. The lunar calendar was also followed by the earlier Prophets, as may be understood from the hadith, which mentions the reason why the Jews fasted `Ashura’ – which is a day that is commonly known through the lunar calendar. They said that it was the day on which Allah had saved Prophet Musa, and his people. This indicates that they followed the lunar calendar and not the months of the solar, European calendar. (Al-Sharh al-Mumti`, 6/471).

Excerpted with modifications from: www.islam-qa.com