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

    Date Calculations

    Asked by proba1 on August 03, 2015 at 04:36 PM

    Hi!

     

    I have some problems with this date calculation. Is there a way to format the result of the calculation?

    I have a hidden Date&Time field which is set to the current date. I need a field with a date 8 days after the current date. I found the solution mentioned by you great, but I would like to format both dates like this: YYYY.MM.DD.

    I am trying to create an order form, and I would like to insert the two dates in the notification mail. The first would be invoice date, and the second would be the due date.

    Could you please help me to find a solution for this problem?

     

    Thank you in advance,

    Akos

  • Profile Image
    JotForm Support

    Answered by BJoanna on August 03, 2015 at 05:10 PM

    Unfortunately it is not possible to format YYYY.MM.DD inside of calculation field using date string. 

    However you can use two DateTime fields. You can set first field to show current date and use conditional logic to update a form field values and show in second field 8 days after current date.

     

    You can set Date Format on your DateTme fields.

    Here is my demo form: http://form.jotformpro.com/form/52147067991967 

    Feel free to clone it if you want to take a closer look to my condition. 

    Hope this will help. Let us know if you need further assistance. 

  • Profile Image

    Answered by proba1 on August 03, 2015 at 05:15 PM

    Thank you very much for your quick and great response!