I made what I think your looking for.
http://ericrohloff.com/coffeecup/ccforu … entpicker/
Thank you for this code, I always wanted this but I might have found a few bugs.
1) If you select for example a start date that is next year, 01/05/2019 and the end date 01/10/2019, it changes the start date to 08/09/2018 and it won't allow you to correct it. (see attachment coffeecup-01.JPG)
2) When selecting a start date in the following year (2019) it allows you to select an end date prior to the start date (see attachment coffeecup-02.JPG)
Hope you can fix this, I have implemented on a few websites