I could be thinking to simplistic, but isn't it just a case of

if (endDate > 0-1-01-2004) then displayMessage('Get a new version on my website');

or something like that ?