## Basic Usage ```js const today = new Date() const endDate = new Date() endDate.setDate(today.getDate() + 42) const endDateFormat = `${endDate.getFullYear()}-${endDate.getMonth() + 1}-${endDate.getDate()}` ``` ## "Days before realtime" Usage ```js const today = new Date() const endDate = new Date() endDate.setDate(today.getDate() + 4) const endDateFormat = `${endDate.getFullYear()}-${endDate.getMonth() + 1}-${endDate.getDate()}` ``` ## "Days before warning color" Usage ```js const today = new Date() const endDate = new Date() endDate.setDate(today.getDate() + 19) const endDateFormat = `${endDate.getFullYear()}-${endDate.getMonth() + 1}-${endDate.getDate()}` ``` ## "Custom classes" Usage ```js const today = new Date() const endDate = new Date() endDate.setDate(today.getDate() + 42) const endDateFormat = `${endDate.getFullYear()}-${endDate.getMonth() + 1}-${endDate.getDate()}` ``` ## Basic Time's out preview ```js ``` ## Time's out with message ```js ```