If I change it to until, it doesnt have the function Date.valueof(string from database)