CalendarUI element showing different date format for different locations

Hi,
I have an input field with date calendar in my webdynpro Java form . User can select date from this calendar and fill the input field. For this I have used input field  in my layout and have binded this with one context attribute of type date. Say name of this field is requiredByDate
Now when I build and deploy my code, I can see the the required By date field and user is able to select date values from the calendar button next to the input field. The format of the date selected is mm/dd/yyyy.
However , when a user tests this application from other location say Malaysia, for him the format is coming as dd/mm/yyyy after selecting the date from the calendar.
Just want to know ,is there is difference in date format for differnt locations ? For India, when you select the date its showing mm/dd/yyyy and for Malayisa its showing dd/mm/yyyy.
Is there anything we can do by changing our system settings like timezone or dateformat in system settings.
I am using standard UI element and binding it with context element of type date.
Need your advice or help on this..
Thanks and regards,
Sai

Hi,
go to
[http://help.sap.com/saphelp_nw04/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm]
It describes the fallback sequence followed by the Web Dynpro for Java Runtime in order to determine the current session locale.
Regards
Matteo

Similar Messages

  • Different date format in different database..

    Hi,
    We have two database (10g) with same NLS settings.When we are reading the data from a table and assigning the value to XML tags using oracle.xml.sql.query.OracleXMLQuery class , with one database connection, the data format is coming as MM/DD/YYYY like <PYMT_DATE>7/23/2008 0:0:0</PYMT_DATE>
    but with other database it is coming as YYYY-MM-DD like <PYMT_DATE>2009-08-10</PYMT_DATE>..
    Can somebody help me out ?

    hi..
    Check the data format used to retrieve the date in the query ..
    TO_DATE (......................)
    Check whether both the db's are having same conversions..

  • Different Date Format

    Hi All,
    I'm using OWB,Disc Admin and Disc Plus. The problem i'm having is, In the OWB Target Table i have a date field in the following format "DD-MM-YYYY HH:MM:SS AM/PM", but when i bring the filed into a report in Disco Plus i'm seeing it in the format "DD-MM-YYYY". I went onto Disco Admin and opened the folder and edited the Date field to the "DD-MM-YYYY HH:MM:SS" field, but still its not showing the changes made in Admin. Any suggestions why its showing different date formats?
    Thanks

    Hi
    Discoverer shows dates as dates. The time elements are still there. If you want to see them use the TO_CHAR function.
    Best wishes
    Michael

  • Problem with SQL*Loader and different date formats in the same file

    DB: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    System: AIX 5.3.0.0
    Hello,
    I'm using SQL*Loader to import semi-colon separated values into a table. The files are delivered to us by a data provider who concatenates data from different sources and this results in us having different date formats within the same file. For example:
    ...;2010-12-31;22/11/1932;...
    I load this data using the following lines in the control file:
    EXECUTIONDATE1     TIMESTAMP     NULLIF EXECUTIONDATE1=BLANKS     "TO_DATE(:EXECUTIONDATE1, 'YYYY-MM-DD')",
    DELDOB          TIMESTAMP     NULLIF DELDOB=BLANKS          "TO_DATE(:DELDOB, 'DD/MM/YYYY')",
    The relevant NLS parameters:
    NLS_LANGUAGE=FRENCH
    NLS_DATE_FORMAT=DD/MM/RR
    NLS_DATE_LANGUAGE=FRENCH
    If I load this file as is the values loaded into the table are 31 dec 2010 and 22 nov *2032*, aven though the years are on 4 digits. If I change the NLS_DATE_FORMAT to DD/MM/YYYY then the second date value will be loaded correctly, but the first value will be loaded as 31 dec *2020* !!
    How can I get both date values to load correctly?
    Thanks!
    Sylvain

    This is very strange, after running a few tests I realized that if the year is 19XX then it will get loaded as 2019, and if it is 20XX then it will be 2020. I'm guessing it may have something to do with certain env variables that aren't set up properly because I'm fairly sure my SQL*Loader control file is correct... I'll run more tests :-(

  • Different Date Formats in the same "From"

    Hello
    We used different date formats depending on the users language.
    In a report this is simple to implement ... read the date field twice (in different formats dd/mm/yyyy and mm/dd/yyyy) and display only one based on the language.
    I want to be able to do the same in a "form" which updates a date. In this case the about is not allowed.
    Has anyone have solution for this using "APEX" forms or do a need to write a process to achieve this?
    Thanks
    Pete

    Pete,
    You don't specify what version of Application Express you're using, so I'll assume APEX 3.1 or later.
    Are you setting the date format yourself, based upon the user's language?
    1) You could have the application's language derived from Browser, and then APEX would automatically set the NLS_LANGUAGE and NLS_TERRITORY settings accordingly. Then, I would simply use 'DS' as the Application Date Format. For Date Pickers on a form, I would use item type 'Date Picker (use Application Date Format)'.
    2) If you're already determining the date format yourself and you don't want APEX to do it for you, ensure that you are setting this value in an application item (e.g., PETE_DATE_FORMAT). Then, you could still use Application Date Format with a value of &PETE_DATE_FORMAT. (inclusive of the trailing period).
    When you use Application Date Format, the conversion should happen automatically for you so that you don't have to code this yourself on the Form.
    I hope this helps.
    Joel

  • Date format is different

    Hi,
    I have a excel report showing milestone dates. All of a sudden the date columns show different date formats ( alternatively dd/mm/yyyy  and mm/dd/yyyy ). What is this weird behaviour ?  what are the corrective measures ?
    thanks in advance
    D Bret

    yes, the PC settings are done with a short date as dd/mm/yyyy  and the cube dates are correct. Only issue is date are appearing differently - alternate
    Char 1       dd//mm/yyyy      mm/dd/yyyy.....dd/mm/yyyy..
    any idea ?
    thnks
    D bret

  • Trigger returning different date formats.

    Posted from Windows forum:
    We just reticently received a update to an .net application from a vendor. When our client machines (Windows XP) run the app we receive 2 different date formats returned from an post insert table trigger. The correct format is 'DD-MON-YY' in which a couple machines still return and the others return the format 'YYYY-MM-DD HH24:MM:SS'. I've tried setting the NLS_Date Format with no success. Database is Oracle 8i. Any suggestions?

    CREATE TABLE X.ACCESS_LOG
    ACCESS_LOG_ID NUMBER NOT NULL,
    SYS_ID NUMBER NOT NULL,
    DATE_IN DATE NOT NULL,
    DATE_OUT DATE NOT NULL,
    INSTRUMENT_ID_IN NUMBER,
    INSTRUMENT_ID_OUT NUMBER,
    STATION_IN VARCHAR2(20),
    STATION_OUT VARCHAR2(20),
    AREA_IN VARCHAR2(25),
    AREA_OUT VARCHAR2(25)
    CREATE OR REPLACE TRIGGER XFER_TO_TRACKING
    AFTER INSERT
    ON x.ACCESS_LOG
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
         v_qtr Number;
    BEGIN
    SELECT qtr
    INTO v_Qtr
    FROM X.QTR_SET
    WHERE to_date(:new.Date_In,'dd-mon-yy') BETWEEN first_date AND last_date;
    Insert (....)
    END/
    Here is the basic code for table and trigger. When the trigger fires the value for :new.date_in will come over in the format of "dd-mon-yy", which we have been looking for, or "YYYY-MM-DD HH24:MM:SS" which just came up with this new release depending on which station is used.

  • URGENT: XML-SQL: Error parsing different date formats in the same XML file.

    Hi Everyone,
    I have a big problem while using the XML-SQL utility. I have a XML file with different date formats. I get exception like the one below.
    "oracle.xml.sql.OracleXMLSQLException: 'java.text.ParseException: Unparseable date:"
    And the XML file is :
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Info Key="ID">
         <Insert>
              <ID>1</ID>
              <BookingDate>10.12.2001</BookingDate>
              <OpeningTime>19:16</OpeningTime>
         </Insert>
    </Info>
    I have tried using different setDateFormat which is contrary.
    sav.setDateFormat("d.M.y");
    sav.setDateFormat("H:m:s");
    Can someone help me on the same.
    Thanks in advance.
    Subramanian.

    You might have to describe the columns as varchar then modify the table to the right format.

  • Different Date Formats on CRM and BI Client

    Hi,
    When trying to run the CRM Interactive Report "Accounts with Open Activities", I receive the following error:
    Different date formats on CRM and BI client 01/13/2009 13.01.2009 SC5CLNT200
    Does anybody know how to resolve this error?
    Thanks

    Hi Peter,
    As far as i remember, I had the same issue.
    Once I matched the date format in reporting client using SU01 on default tab with CRM date format, I did't see the error again.
    Did you try restarting the Browser & also relogin GUI.
    Else lets see what else can be done.
    Best Regards
    Shiven

  • How to change date format for prentation variable

    Hi experts
    In my prompt the date format is MM/DD/YYYY . I have created one presentation variable for that but i want to use this in Formula as well in Title as: DD-MON-YY
    So how can i achieve it..
    Thanks in advance
    Regards
    Frnds

    Hi
    i think this can't be done through any code like oracle uses to_char, to_date function.
    Just follow this
    http://oraclebizint.wordpress.com/2007/12/19/oracle-bi-ee-101332-dates-dates-and-dates/
    With this, wherever you have this column, you will be getting this format dates..
    if you don't want in reports you can change it by mentioning the data format for that paricular column in report, but for the same column, if you want different format at different places (for prompts), you can't do that..

  • Where does one manage date formats for display and input

    the user specification is that dates be displayed as YYYY-MON-DD. Is there a config or properties file which contains the date format for display? Is there a calendar drop-down that can be positioned next to a date input field for a question on a screen?
    Thanks,
    Allan

    Hi Allan,
    Curious why the rule project wasn't created with "English (Canada)" initially? If your project is English (UK) with the default configurations for that locale, then I assume your currency values are appearing in OWD with the GBP symbol (£) instead of a dollar sign ($)?
    As for the impact of switching… I highly recommend getting confirmation from the OPA Dev team before doing it, but in the meantime, if you wanted to experiment on your own with a separate test rulebase (as opposed to whatever formal rulebase you're working on), here are my observations from an initial look… (FYI, I'm an experienced OPA rulie, but I'm non-technical and not in the Dev team, so best to check with them!)
    I poked around the language parser files and saw that English (UK) has an English (UK) verb list, whereas English (Canada) uses the English (US) verb list. The vast majority of verbs are identical in all the variations of English, however, there are a couple which differ. So if you've used any verbs which have a different spelling between the 2 lists, there may be some attribute text to tweak, e.g.
    - English (UK): the person travelled to Australia
    - English (US): the person traveled to Australia
    - English (UK): the person cancelled the reservation
    - English (US): the person canceled the reservation
    I saw some other different files between English (Canada) vs English (UK), but didn't notice anything in them which I'd expect to impact the rulebase.
    As for how it might impact other components:
    * screens file and the properties file – May be some tweaking depending on how you addressed the verb spelling issue above.
    * regression test files – May be some tweaking depending on how you addressed the verb spelling issue above.
    * messages.(locale).properties – The default messages.(locale).properties file appears to be based on the Language setting of the Project. I just tested this and OWD used a different messages.(locale).properties file when I changed the Project Language (OPM | File menu | Project Properties | Common Properties | General | Language).
    * Siebel Connector – don't know what the impact would be.
    OPA Dev team – Can you review what I've said here? And add any relevant further detail?
    Cheers,
    Jasmine

  • Btrfs with different file systems for different mount points?

    Hey,
    I finally bought a SSD, and I want to format it to f2fs (and fat to boot on UEFI) and install Arch on it, and in my old HDD I intend to have /home and /var and  try btrfs on them, but I saw in Arch wiki that btrfs "Cannot use different file systems for different mount points.", it means I cannot have a / in f2fs and a /home in btrfs? What can I do? Better use XFS, ZFS or ext4 (I want the faster one)?
    Thanks in advance and sorry my english.

    pedrofleck wrote:Gosh, what was I thinking, thank you! (I still have a doubt: is btrfs the best option?)
    Just a few weeks ago many of us were worrying about massive data loss due to a bug introduced in kernel 3.17 that caused corruption when using snapshots. Because btrfs is under heavy developement, this sort of thing can be expected. That said, I have my entire system running with btrfs. I have 4 volumes, two raid1, a raid0 and a jbod. I also run rsync to an ext4 partition and ntfs. Furthermore I make offline backups as well.
    If you use btrfs make sure you have backups and make sure you are ready to use them. Also, make sure you check sum your backups. rsync has the option to use checksums in place of access times to determine what to sync.

  • JTree: How to set different cell editor for different tree Nodes.

    I have a JTree and I want to set different cell editors for different node depending on some condition. E.g. I want to set ComboBox as editor for leaf node but each leaf node will have its own set of data.
    Any help or pointer?
    Thanks in advance
    Sachin

    take there:
    http://www.mutualinstrument.com/Easy/FAQ/Tree/tree.html

  • How to change date format for prentation variable in Formula

    Hi experts.._
    I need to change date format for presentation variable in formula..
    my dashbord date prompt format: mm/dd/yyyy(i have created one presentation variable for this prompt: pv_date)
    now i need to show it as : month-dd-yyyy
    Thanks in advance
    Regards
    Frnds

    Hi Kishor...Thanks for reply...
    But i need to change my precentation variable date formt...
    i need to write one text like: 'Year to dd/month/yy' in one column formula..
    So how can i achieve it..

  • Change number / date format for the user at run time

    Hi,
    Can I configure a report in Oracle Answers to display a column in a particular format for one group of users and a different format for another group of users?

    Hi,
    Yes this is possible.
    In the BMM layer duplicate column which is to be formatted for different group of users. And pull it into the presentation layer.
    Suppose Column 1 for the Group 1 users
    and Column 2 for the Group 2 users
    In the presentation layer, double click on the column and give permission for the column 1 for the group 1 users and group 2 users for column.
    First create a report with all the desired columns with Administrator or Presentation Server Administrator Role. And format the columns according to the different group of users.
    In, NQSConfig.ini change the parameter PROJECT_INACCESSIBLE_COLUMN_AS_NULL which is under security section. By default it is set to No. Set it to yes. And restart the services.
    Now logon with the group 1 users and you can see only the column1 and when logged on with group 2 users, you can see the column2.
    And will solve your problem.
    Please let me know if you need step-by-step process for solving.
    Please award if you found this useful/helpful
    Regards
    MuRam

Maybe you are looking for

  • WRT54G2 DNS errors when connecting online to PS3... at a loss for ideas...

    Im having dns problems ever since PSN went back online and i cannot connect to the internet with my PS3 or log onto PSN. At first i would get dropped as soon i joined an online game, and it was running very slowly, but now it wont connect at all. Wir

  • Is this what JMX is for?

    I have been reading a little into JMX but I am not sure if it is what I am looking for. What I am looking to do is have a Server in my network and a set of clients running on different PC's within my network. I want to monitor things the client apps

  • Transferring podcast subscriptions

    I bought a new computer (both old & new are windows-based), and would like to transfer my podcast subscriptions to the new computer.  I've been able to transfer the currently-downloaded files, but not the subscriptions (including information about po

  • Lenovo Windows 7 Upgrade questions (please help)

    Dear Lenovo Community: I recently purchased a Thinkpad T500 and signed up for the Lenovo Windows 7 Upgrade Program.  I have a few questions that I haven't been able to find the answers to elsewhere.  I was hoping some of you could help: 1) Will the L

  • Fetching from a cursor and writing to a file in Pro*C

    Hi guys, I have a situation in hand here and I guess my "C" skills are putting me up to the test. My cursor is fetching 3 records and its all fine. I am also being able to sprintf those details and the fprintf also works perfectly -- except when I co