Skip to Content
0
Former Member
Feb 16, 2006 at 08:39 AM

Changing the date format in a HTMLB Input field component

60 Views

Hi all,

I'm trying to change date format in a HTMLB Input field.

At the moment I have got a format like 30.10.2006 (other users or 10.30.2006 (us users).

I prefer to have an output like 30-Oct-2006.

I haven't found functions to do that.

Is that posible or the format of outputs from Date Navigator are fixed.

Here is code I'm using.

<i>

//InputField
inputField = new InputField("DateInp");
inputField.setType(com.sapportals.htmlb.enum.DataType.DATE);
inputField.setValid(true);
inputField.setShowHelp(true);

</i>

Thank you in advance,

Dimitri Herber

SAP Germany