date_helper.php extended with added function which is tested in test controller