Skip to Content
avatar image
Former Member

Setting the format of a calender-GUI

Hy,

I have an input-field, which is bound to an attribute of type date in a context. So when I want to edit the input-field there is a drop-down-calender, where I can choose a date.

But the format of the chosen date is dd/mm/yyyy (e.g. 10/06/2005). I want to set the format to dd.mm.yyyy (e.g. 10.06.2005) .

Further on a special desire is the format <weekday>, dd.mm.yyyy (e.g. Mo, 10.06.2005)

Can someone tell me, how I can set the fomat ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 21, 2005 at 09:06 AM

    Hi Florian,

    Create a simple type in your local dictionary of Built-in-type 'date'. In the representation tab for the simple type, you can specify the format as <b>dd.MM.yyyy</b>

    Now create an attribute of that simpletype and bind that to the input field. This will display the date in the desired format. But, I don't think the format '<weekday>, dd.mm.yyyy' can be displayed using any inbuilt functionality.

    Hope this helps,

    Best regards,

    Nibu.

    Message was edited by: Nibu Wilson

    Add comment
    10|10000 characters needed characters exceeded