Sub end today

fixes http://manage.dimagi.com/default.asp?103737#590988