See also: https://bathtrams.uk/trams-really-run-every-6-8-minutes-throughout-day/
In budapes trams run from 0430 to 23.50 https://www.budapesttips.co.uk/public-transport/bus-budapest/
Above, yellow is one Budapest tram timetable. Note how he service frequency is increased during school holidays. In UK trams are generally more frequent than trams e.g. 6 minutes in Birmingham is typical, whereas buses are generally around 20 minutes. In pre-war London trams there was no timetable because a tram was always in site.
Below is a bus timetable, which generally has longer service intervals.