Use Variable in Date Input

Hello,

I want to use flow variables as default, min and max values for a Date Input field.

I'm not able to get the format of the string right, I'm trying 'yyyy-mm-dd', 'yyyy-mm-dd:hh:mm' and other abbreviations but I always get the message could not parse date.

Is it possible to define those default values with flow variables? It's supposed to be input for a WebPortal Workflow so the mechanic is rather crutial.

Hi,

you can use the java sniipet node to achieve this
 

Regards,

Amarendra

Edit the variable with the Java Edit Variable node to the desired outcome? 

I attached a minimal workflow to illustrate what I intend to do.

The correct format is 'yyyy-MM-dd;HH:mm:ss.S' - https://tech.knime.org/forum/knime-general/date-input-node-how-to-set-the-default-value-to-the-execution-time