What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Como eu calculo o nº de dias entre 2 datas ?

    Asked by rivieratemporada on May 30, 2017 at 08:14 PM

    Eu tenho um formulário com data de check-in e data de check-out e preciso calcular o nº de dias entre estas 2 datas. No formulário estou dando entrada na data e hora de ambos os campos, mas tenho interesse somente em obter o nº de dias entre as datas, sem considerar as horas. Como faço isto ? Obrigado.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Chriistian on May 30, 2017 at 11:41 PM

    I understand that you want to get only the date difference of the date input for the Check-in date and Check-out date. To achieve this, you can use the Date Difference Widget on your form. Upon submitting the form, you will get the result of the calculated date difference on email submissions.

    Hope this helps.

    However, if you are looking for something different, please let us know.