Original: In the Islamic calendar, a new day, and therefore also Eid ul-Fitr, begins at sunset.
Simplified: Muslims do not fast on Eid ul-Fitr as it is not allowed. When you see the new moon after Ramadan, the next day is Eid ul-Fitr.