date format and trend