Skip to Content
avatar image
Former Member

InputField DatePicker- How to set date format yyyy-mm-dd ?

Hi,

1. I am using inputfield to select date from the client. When cleient selects input field is displaying date in mm/dd/yyyy format.

How to make the format to yyyy-mm-dd(on any client)?.

Thanks in advance

Markandeya

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Feb 21, 2004 at 08:21 PM

    <b>date</b>

    Defines the value of the input field and the 'type' as data type Date. The value has to match the data type format according to the locale setting. This attribute combines the attributes 'type' and 'value'. See description of the 'type' attribute for more details how the inputField handles types.

    I think a yyyy-mm-dd locale is possible, but I am not familiar with the countries which use this type.

    Add comment
    10|10000 characters needed characters exceeded