trim days from data