on 09-21-2005 9:31 AM
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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hy,
something more. In the GUI I have taken an INPUT-field and mapped it to a context-attribute of a simple-type of the local-data-dictionairy. This simple-type has the buildt-in-type "date" and the representation format I want to have, 'dd.MM.yyyy'. When I start the application I get an Input-field, which I can open and get and calender. So I take a date in the calender. When the calender is closed the date is shown in the format 'dd/mm/yyyy'. Now I click the ok-button and get the error messgage that the date must be of the format 'dd.MM.yyyy'.
Wy is the date shown in the incorrect format when I choose a date in the calendar ?
Florian
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.