add trimString and the “date” command