DateTime calculation shows incorrect value

  • Profile Image
    prowebcons
    Asked on March 17, 2015 at 10:27 PM

    Hello,

     

    I'm doing the same and I have instead of the current +5 days later, like for instance:

     

    Current date: 03 - 17 - 2015

    Date returned: 11-20-1899

    Note: the calculation is very simple:  current date + 5 days, insert in a datetime field.

     

    Can you help please asap

     

    Eric

  • Profile Image
    Charlie
    Answered on March 17, 2015 at 10:43 PM

    Hi Eric,

    I believe the problem is that you have used an incorrect date field variable in your conditions.

    I've cloned your form for testing purposes.

    Here's the setting that you have:

    date5 is actually referring to "Porchain versement"

    In that case you are adding 5 days to a blank field.

     

    Based from your conditions, what I understand is that you would like to add 5 days to "Paiement immédiat" considering it is the default/current date. Is that current?

    If that is the case, replace date5 to date1 from the "Add Field".

     

    Here's the demo form, see if it works as you expected: http://form.jotformpro.com/form/50758950680969?

    Do let us know if I misunderstood your formula.

    Thank you.

  • Profile Image
    prowebcons
    Answered on March 18, 2015 at 04:03 AM

     

    Hello,

    Thank you very much , it is working.

    Another question, is it possible to hide the subscription part and keep only the credit card section, because we will inform our eventual students through the 3 dates, see below image, we don't want to that subscription, because in English only cannot translate it and also because it is confusing.

     

    Please answer asap, we need this done immediately.

    regards

    Eric

  • Profile Image
    prowebcons
    Answered on March 18, 2015 at 08:47 AM

    Hello,

     

    Any news or update, we have a campaign marketing waiting because of this form is not finish, please help.

     

    Regards

    Eric

  • Profile Image
    Charlie
    Answered on March 18, 2015 at 09:57 AM

    Hi Eric,

    We advise our users to create a separate thread for each question or concern that they have, I went ahead and opened a separate thread link for you, please refer to this one for your question regarding the subscription part: http://www.jotform.com/answers/535496. We will address it accordingly.

    Thank you.