From the Wikipedia page 
Hayes (from 1930 Hayes and Harlington) was a local government district in west Middlesex, from 1904 to 1965.
It was originally created in 1904 as an urban district, Hayes Urban District, covering the Hayes parish transferred from Uxbridge Rural District. In 1930 it acquired the parishes of Cranford and Harlington from the disbanded Staines Rural District and at the same time, its name was changed to Hayes and Harlington Urban District.
Boundary changes in 1934 abolished the Cranford parish and split its area with the Municipal Borough of Heston and Isleworth (361 acres), with the remainder becoming part of the Harlington parish (368 acres).
In 1965, under the London Government Act 1963, it was abolished, the area becoming part of the London Borough of Hillingdon in Greater London. The name remains in use for the Hayes and Harlington Parliamentary constituency, and by the Hayes and Harlington Station.