convertDateToDateKey = (date) => (
  getDateKey(date.getFullYear(), date.getMonth() + 1, date.getDate())
)
Returns the string representation for a provided date.

@param date {date} - a valid date
@returns {string}: a string representing the date in the format yyyy-mm-dd