Date Calculations

  • proba1
    Asked on August 3, 2015 at 4: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

  • BJoanna
    Replied on August 3, 2015 at 5: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.

     Date Calculations Image 1 Screenshot 40

    Date Calculations Image 2 Screenshot 51

    You can set Date Format on your DateTme fields.

    Date Calculations Image 3 Screenshot 62

    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. 

  • proba1
    Replied on August 3, 2015 at 5:15 PM

    Thank you very much for your quick and great response!