parseDate: simplify truncate expression