modify the format from date to general