How to get a date for the end of a specific month

Basically I would like to display the dates for when time changes, so BST and GMT. These dates are for the last Sunday of March and October.

J