Calculate The Number of Days Between...

User 2622524 Photo


Registered User
96 posts

Eric Rohloff wrote:
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

Thank You
Attachments:
User 187934 Photo


Senior Advisor
20,181 posts

Perhaps,
https://ericrohloff.com/coffeecup/ccfor … ndex2.html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2622524 Photo


Registered User
96 posts



Eric, thank you, you are a star :)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.