changed date format to string