Getting values for rangeslider?

Is there a way to get the current range of a date rangeslider? I’d like to use it to display period-dependent metrics.

first example.
You can simply get the ‘value’ attribute of the range slider as an Input or state.
If you are looking for the maximum range, you can also just get the ‘min’ and ‘max’ attributes the same way.

Thanks @Snizl, but I’m looking for a solution in R.