Title: Date Calculation
Last modified: October 26, 2016

---

# Date Calculation

 *  Resolved [venom791](https://wordpress.org/support/users/venom791/)
 * (@venom791)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/date-calculation/)
 * Hi there,
 * In theory what i’m trying to achieve is rather simple(logically) however the 
   plugin doesn’t seem to be able to do it.
 * I’m using 2 date pickers.
    “Depart Date” and “Return Date” which determines how
   long a client is gone for. (for house sitting) Math: return date – depart date
   = total days to house sit.
 * Problem occurs when the return date occurs on a new month for example:
    Depart
   Date: 2016/10/26 Return Date: 2016/**11**/10
 * It doesn’t seem to have the logic to subtract dates keeping in mind days,months
   etc. It subtracts it as 20161110 – 20161026 = 84. The answer should be 16.
 * I absolutely like the plugin so I was wondering if someone has a solution for
   this.
 * Kind Regards ~Venom.
    -  This topic was modified 9 years, 6 months ago by [venom791](https://wordpress.org/support/users/venom791/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * (@christiechirinos)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/date-calculation/#post-8376449)
 * Hi Venom,
 * Thanks for using Caldera Forms. I’m glad you like the plugin, and yes, this certainly
   looks like something that should be happening with dates, and isn’t. I’ve opened
   an issue in our Github: [https://github.com/CalderaWP/Caldera-Forms/issues/908](https://github.com/CalderaWP/Caldera-Forms/issues/908)
 * If you could please leave a comment on that issue with the full debug information
   that you can find in the Caldera Forms support submenu, that might be helpful
   for us to fix this.
 * Thanks again for using Caldera Forms. If you ever need any help with Caldera 
   Forms, please do not use this forum, instead open a support ticket at [https://CalderaWP.com/support](https://CalderaWP.com/support)
   or if you find a bug, please open an issue at [https://github.com/CalderaWP/Caldera-Forms/issues](https://github.com/CalderaWP/Caldera-Forms/issues).
   Thanks!
 *  Thread Starter [venom791](https://wordpress.org/support/users/venom791/)
 * (@venom791)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/date-calculation/#post-8438688)
 * Ok great, thank you Christie. I must admit Shelob9’s comment made me laugh. I
   recon it will be a great feature for your plugin. Looking forward to one day 
   see it in action 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Date Calculation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

## Tags

 * [caldera](https://wordpress.org/support/topic-tag/caldera/)
 * [date picker](https://wordpress.org/support/topic-tag/date-picker/)
 * [Math](https://wordpress.org/support/topic-tag/math/)

 * 2 replies
 * 2 participants
 * Last reply from: [venom791](https://wordpress.org/support/users/venom791/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/date-calculation/#post-8438688)
 * Status: resolved