Cast date parts to string before concatenation.