Forum Discussion

breaux's avatar
breaux
Contributor
9 years ago

Dynamic date REST parameter?

Is there any way to define a REST parameter that will automatically take like tomorrow's date?   I tried this, but don't know what's really possible or what the syntax would be for more complicated...
  • rupert_anderson's avatar
    9 years ago

    Or, this seemed to give the next days date and could be inserted as a REST parameter:

     

    ${=def now = new Date();now++;now.format("yy-MM-dd")}