Skip to main content

Converting the format of a date

  • What is it? The Date plus/minus days logic can be used to convert a date from one format to another.

For example if you want to convert a date from YYYY-MM-DD to DD/MM/YYYY or alternatively from the format DD/MM/YYYY to YYYY-MM-DD.

Converting a date

  1. From the Advanced > Logic page in the Control Center for the form, click the Add Logic button.

  2. Give the logic a name.

  3. Select the type Predefined.

  4. Choose the Date plus/minus days formula from the drop down list

    In the next step you're going to need to understand the format of the date is orginally in. It may not be in the format you expect. See common date formats used in Jadu Central if you are unsure.

  5. Set the Date to change input to date you want to convert.

  6. Set the input format. See understanding date formats for information on the different date formats.

  7. Select the desired output format. See understanding date formats for information on the different date formats.

  8. Set the +/- input to either plus or minus (it makes no difference when converting a date)

  9. Set the Amount input to 0.

  10. Set the Weekdays or Days input to either Weekdays or Days (it makes no difference when converting a date)

  11. Save the logic. Use the result of the new logic in form templates, other logics and content.