# ui.DateSlider.setEnd

<br />

Sets the end date of the slider.

<br />

Returns this slider.

| Usage | Returns |
|---|---|
| `DateSlider.setEnd(value)` | ui.DateSlider |

| Argument | Type | Details |
|---|---|---|
| this: `ui.dateslider` | ui.DateSlider | The ui.DateSlider instance. |
| `value` | Number\|String | The slider's end date. |