The date of Eid ul Fitr is determined based on the sighting of the Shawwal moon, typically occurring on the 29th or 30th day of Ramadan.