Skip to Content
author's profile photo Former Member
Former Member

Dateformat: Date Picker configuration WebDynpro

Hi,

Anybody knows how to change dateformat in JavaScript code of a webdynpro application?.

All my applications generates the following code:

ur_system = ;

I need to change "dateformat: 1" to dateformat: 2".

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 08, 2005 at 06:00 PM

    An application cannot change this. The date format sent to the browser is automatically derived from the session locale.

    Which locale do you use and which date format do you expect?

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 08, 2005 at 07:14 PM

    Hi,

    I have dateformat MM/dd/yyyy (US American). Let me explain my real problem:

    I have a web dynpro applicantion with a input field with a date picker. I always get as a default the wrong date in the date picker (the input field value is fine). For example if the input field value is 08/09/2005 the date picker shows september and it should shows august. It means that the javascript program for the date picker is taking the dd/MM/yyyy format instead of MM/dd/yyyy.

    But, if I click in the input field before that in the date picker I get the right calendar.

    Thanks in advance.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 08, 2005 at 07:45 PM

    Hi,

    I already opened a OSS, but any idea is welcome...

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      The current session locale is picked from the one which is present and has the highest priority

      Its in this order..

      1.URL

      2.User ID

      3.Browser

      4.Default Locale Property

      5.WD system

      6.VM Default

      7.Final locale

      Check if all the values are set in dd/mm/yyyy format.

      ( Not sure if this will solve your problems 😊 )

      Regards

      Bharathwaj

      Message was edited by: Bharathwaj R

  • author's profile photo Former Member
    Former Member
    Posted on Aug 09, 2005 at 12:27 PM

    Hi,

    All my settings has en_US (MM/dd/yyyy).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.