how to display the datetime value

Hi,

Im trying to display datatime which I receive from flowservice as java.util.data.
In Message bean, WSC, I tried passing the output value as attached in the screen shot…

  1. First time, I just modified the Stdt from java.util.Calendar to java.util.Date in the stub java service (so the icon changed from ‘*’ to ‘clock’ icon ) and drag and dropped in view port let. While executing I see no reply.

  2. 2nd time, I used the explicit function to call the WSC refresh and mapped the output to “Data-picker Input” widget. This time I got ZONE_OFFSET error.

“1/22/2014 10:00:00 EST” is the output of flow service Stdt.

Please tell me what setting I need to set to get the date time displayed.

Else do i need to write java script? Your inputs.

Thanks.
datedisplayIssue.docx (81.1 KB)

Hi,

We need to select Control >> Input >> Date (instead Primitive >> Date) and I used value pattern

yyyy-MM-dd HH:mm:ss.

Now it’s displaying correctly. Issue fixed.

  • Thanks.