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

  • Profile Image
    rivieratemporada
    Asked 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.

  • Profile Image
    Chriistian
    Answered 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.
    Regards.