Use DATE column to create a date range double-end slider

I am trying to extract “date” column in a data frame to create a date range slider with both ends. The only solution I found is from Creating an Interactive Datetime Filter with Pandas and Streamlit | by M Khorasani | Towards Data Science, but it is not a straightforward way. I would like to slide the date range directly. Can anybody help with this?