Template:Get End Date
From Broadcast for Schools.co.uk.co.uk
{{ Get End Date | firstrunto= | repeatsto= | firstrunfrom= }}
Sorts out a consistent end date for a programme. If repeatsto exists it uses that, otherwise if firstrunto exists it uses that, otherwise it uses the current day & time. Used for calculating a series' years active in Template:Get Years Active
As of November 2012, this template returns nothing if firstrunfrom is blank, so that series with no dates specified aren't given the current date. firstrunfrom MUST be sent to this template or it will return nothing.