Change Date Format in Calendar prompt

Hi All,
I am on 11.1.1.5 and the calendar prompt on selection of date/typing of date defaults to MM/dd/yyyy but, the requirement is to make it to default to MM/dd/yy. I have made 3 changes to the localedefinitions.xml file (dateSeparator,dateShortFormat,dateOrder) and they look like below
<property name="dateSeparator">/</property> // separator to use between fields in short date formats
<property name="dateShortFormat">MM/dd/yy</property> // default short date format for locale
<property name="dateOrder">mdy</property> // preferred order of date fields for input
But I still dont see a change in the format of the Calendar prompt. Do I need to change something else too?

I checked under the My Account the locale is set to English and I have the following in the file but still when I select in the prompt the date format is MM/dd/yyyy instead of MM/dd/yy
<localeDefinition name="en"> <!-- english base -->
<property name="localeDisplayMessage">kmsgLanguageName_en</property>
<property name="defaultLanguage">en</property>
<property name="characterSetList">locale:en</property>
<property name="listSeparator">,</property>
<property name="decimalSeparator">.</property>
<property name="thousandsSeparator">,</property>
<property name="dateSeparator">/</property>
<property name="timeSeparator">:</property>
<property name="am">AM</property>
<property name="pm">PM</property>
<property name="timeFormat">h:mm:ss tt</property>
<property name="dateShortFormat">MM/dd/yy</property>
<property name="dateLongFormat">dddd, MMMM dd, yyyy</property>
<property name="negativeNumberTemplate">-#</property>
<property name="collationImplementation">win:0409</property>
<property name="dateOrder">mdy</property>

Similar Messages

  • Date format for Calendar Prompt  in Oracle BI

    Hi,
    1)
    In Oracle Answers, I need to have this format : dd-MMM-yy in a Calendar Prompt
    I've changed in localedefinitions.xml :
    <property name="dateShortFormat">dd-MMM-yy</property>
    <property name="dateOrder">dmy</property>
    <property name="dateSeparator">-</property>
    <property name="dateFormats">
    <property>dd-MMM-yy</property>
    </property>
    then I've restarted all services, but still, the format is (only in Calendar prompt) : dd-mm-yyyy (ex : 16-01-2007).
    I'm using : Oracle Business Intelligence Product Version      10.1.3.3.3 (Build 080430.1930).
    2)
    related to this, I set the value of a presentation variable with the value of returned by this Calendar Prompt. I need to compute (in a report column) the difference (in days) between some column and that presentation value .
    I've tried :
    TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", TIMESTAMP '@{v}')
    But I get errors related most probably to the way TIMESTAMPS seems to work : getting only 'yyyy-mm-dd hh24:mi:ss' like parameters ? any idea how to convert variable v to timestamp , using a custom mask ?
    Thank you !

    right now, Calendar prompt displays (by default) dates using the format : DD-MM-YYYY, although I tried to configure everything to DD-MMM-YY
    If using folowing formula in a column : TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", CAST('@{v_reference_date}' AS DATE))
    i got errors (State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1843, message: ORA-01843: not a valid month at OCI call OCIStmtExecute: )
    I got errors for TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", @{v_reference_date})) as well.
    It works for TIMESTAMPDIFF(SQL_TSI_DAY, Attributes."Modified Date", CAST('@{v_reference_date}' AS DATE)) only if I directly type the date (in the Calendar prompt) using a DD-MMM-YY or a DD-MM-YYYY- format .
    so , I will need to force Calendar to use DD-MMM-YY format (don't know if it is possible), or, in the worst case, I should be able to CAST a string to date using a mask provided on the spot (something like to_date('01-13-2010', 'dd-mm-yyyy') )
    Edited by: alex.v on Jun 7, 2010 11:26 AM

  • Changing Date Format in Dashboard prompt drop down list

    Hi friends, my dashboard shows a drop down list for dates , which are in format "7/1/2008 12:00:00 AM".
    This is defined datetime datatype in sql server. Is there any way to change the date format in dashboard prompt to just "7/1/2008" without doing it in database side.
    Appreciate your help.
    Thanks and regards

    Hi... Toony
    In Dashboard Prompt, you have option to select i.e. show SQL,
    there you write the Logical SQL or Advanced SQL: <em>select cast("timestampCOLUMN" as date) from "PresentationLayerName"</em>
    this is simple way without changing anything in rpd side...
    And if you want the timestamp column somewhere in some reports you can use that column directly.
    If you don't want you need to cast it as DATE.
    If your question was answered then put it as answered and mark it as correct... ;)
    Edited by: Kishore Guggilla on Oct 20, 2008 11:44 PM

  • Change format to Calendar Prompt

    Hi, i want to change the format to the calendar Prompt. The problem is that when i select a date the format used is d/m/yyyy and i need the yyyy-mm-dd format.
    I change the function function NQCSetDate(d, m, y) in Calendar.js (located in OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla) but it doesn t work.
    My OBIEE is installled on a Unix machine and the version is 10.1.3.3.3
    Thanks

    http://108obiee.blogspot.com/search/label/DATE
    Leave NQCSetDate as in the previous state (original), you don't need to edit it for this problem (can be edited for other purspose, for example to show 1-Jan-2000 instead of 1-1-2009).
    If you want yyyy-mm-dd format in the calendar make changes in the localedefinitions.xml, it is well explained here: http://108obiee.blogspot.com/2009/03/how-to-change-date-format-mask-in-date.html.
    dateShortFormat: yyyy-MM-dd (this is used when placing default value to calendar prompt but before picking value from calendar)
    dateSeparator: - (this is used after selecting from calendar)
    dateOrder: ymd (this is used after selecting from calendar)
    If you want to show it with leading zeros (2009-01-01):
    http://108obiee.blogspot.com/2009/05/how-to-add-leading-zeros-after.html.
    Regards
    Goran
    http://108obiee.blogspot.com

  • How to change Date format in Prompts.

    Hi,
    How to change Date format to DD/MM/YYYY in Dashboard Prompts.Kindly let me know.

    Hi,
    try to below ways
    1) By using cast fxn you can solve it.
    SELECT CAST("YOUR COLUMN" AS DATE) FROM "SUBJECT AREA NAME"
    2) This is a known bug get patch Bug 9280334: CALENDAR DD/MM/YYYY PROMPT IN DASHBOARD RETURNING FORMAT YYYY-MM-DD HH:MI:SS from support.oracle.com
    3) refer
    http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    Thanks
    Deva

  • How to change data format from  MM/DD/YYYY to DD/MM/YYYY

    HI,
    How can we change data format from MM/DD/YYYY to DD/MM/YYYY in Prompt and Report Level in obiee 11g.
    Please help me ont this.
    Thanks

    Hi,
    In Prompt:
    Try using EVALUATE function.
    Eg: Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'DD-MON-YYYY')
    Report level:
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya

  • 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..

  • How to change date format

    Can anyone help me with this, Please?
    I have a form with start date and end date and the date format I am getting is YYYY-MM-DD. But I would like to change it to MM-DD-YYYY format. How do I achieve this??
    When I went to JFPREAMBLE_1, i see it reads:
    ^define group:PO_DOC_COMM__SVC_STRT_DT!FldNotAvail  \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
    ^define group:PO_DOC_COMM__SVC_STRT_DT!FldUsed      \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
    ^define group:PO_DOC_COMM__SVC_END_DT!FldNotAvail  \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
    ^define group:PO_DOC_COMM__SVC_END_DT!FldUsed      \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
    Can I change anything here to change the format??? Or how do I change date format??
    I would really appreciate your help on this. Thanks in advance.

    Hi,
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya
    Edited by: Satya Ranki Reddy on Jul 2, 2012 3:57 PM
    Edited by: Satya Ranki Reddy on Jul 2, 2012 3:59 PM
    Edited by: Satya Ranki Reddy on Jul 2, 2012 4:13 PM

  • Change date format in reporting (query)

    I need to change date format from dd.mm.yyyy to dd/mm/yyyy in reporting (query)

    Hi Suresh,
    Go to transaction su01d in that enter your user.
    Now go to defaults and change the date format.
    Ya but this format will be user specific, so if you want everyone to see that format you have to change it for all.
    Regards
    Mansi

  • How to change date format in alv report

    hi ,
    i wanna change date format which is in yyyy.mm.dd to mm/dd/yyyy in alv report.
    plz advise.
    thanks
    sudheer

    Hi sudheer,
    There is no direst Fm fro that.
    But u can follw the below way. it worked for me. kindly chk it.
    [code]DATA: V_DATE_IN(10) TYPE C,
    V_DATE_SAP TYPE SY-DATUM.
    V_DATE_IN = '01.01.2005.'.
    CONCATENATE V_DATE_IN+6(4) "<--for Year
    V_DATE_IN+3(2) "<--for month
    V_DATE_IN+0(2) "<--for Day
    INTO V_DATE_SAP.
    now V_DATE_SAP will have value like 20060101.
    now use.
    CONVERSION_EXIT_PDATE_OUTPUT Conversion Exit for Domain GBDAT: YYYYMMDD -> DD/MM/YYYY[/code]
    regards
    anver
    <b><i>if hlped pls mark points</i></b>

  • Change Date Format in MSDS report

    SAP EHS expert:
    I would like to change Date Format when printing MSDS in different languages. For example, print date in MM.DD.YYYY format when printing MSDS in English, but print date in YYYY. MM. DD format when printing MSDS in Chinese.The Generation Variant setting is MM.DD.YYYY because most of time we print that MSDS in English.
    Does any one know how to do it?
    Thanks
    Tina Wu

    hi,
    create a new generation variant for the Report template and select the date format that you want in the new GV. While printing the report template select the generation varient created for the required date format.
    Ashish

  • Changing date format in bw report

    Hi,
    Could anybody pls Explain How can I change date format in bw report from 19-03-2008 to 19 mar 2008.Is there any setting we need to do. Else do i need to write some ABAP code to get desired format.
    Regards,
    Sarath

    Hi Sarath,
    I could have the routine enabled and its wrk for my DATS obj ...
    else pls go through the following code
    Check this example of how to get this format..
    TABLES: T247.
    DATA: V_DATE TYPE SYDATUM.
    DATA: V_STRING(20).
    V_DATE = SY-DATUM.
    SELECT SINGLE * FROM T247
    WHERE SPRAS = SY-LANGU
    AND MNR = V_DATE+4(2).
    IF SY-SUBRC = 0.
    CONCATENATE V_DATE+6(2) '-' T247-KTX '-' V_DATE(4)
    INTO V_STRING.
    WRITE: / V_STRING.
    ENDIF.
    or make use of the routine make use of the FM
    CONVERSION_EXIT_IDATE_OUTPUT
    hope it helps you out...
    regards,
    pradeep
    Assign points if useful.

  • Changing date format in EP 5.0

    Hi,
    I am working on EP 5.0 on ITS Server .For designing GUI i am using HTMLB with jsp .
    When i choose the date from date picker(calender in this case) it comes in the format mm/dd/yyyy  . But the requirement is like when i choose date , on the screen it should appear in dd.mm.yyyy  format .
    Can anybody tell how to achive this .Whether i have to change the user settings in Portal or i have to change the code in JSP .If i can get the detailed procedure in how to do this then it would be more useful to me .
    Thanks a lot .

    Hi Jain,
    Refer the following links where the question has been answered.
    Changing the date format in a HTMLB Input field component
    /thread/33623 [original link is broken]
    how can i change date format in portal?
    Regards,
    Tamil K

  • Function module to change date format

    hi
    is there any function module to change date format from 20080318 to 18.03.2008

    Hi,
    Use this FM  CONVERT_DATE_FORMAT            Convert date from yyyymmdd to ddmmyyyy format
    Regards,
    Jyothi CH.

  • How to change Data Format

    I'm using Sql Developer vers. 1.1.2. for Oracle 8.1.7 and I can't change Data Format. Even if first I run "alter session set nls_date_format = 'DD/MM/YYYY';" and after I run "select data_field from table;" in the SQL Worksheet, it goes on reporting the field in format "MM/DD/YYYY HH:MI:SS". It seems to me as if the "alter session" doesn't work.
    I've got a problem with decimal separator too. I mean when I run "select salary_field from table;" and the item is for example 2300,32 the report gets null column even if I've set Decimal Separator to "," from Tools>NSL Parameters>Decimal Separator.
    I need help.
    Thanks in advance
    Marco

    Marco,
    It isn't really a great help, as you need to access 8.1.7, but the current version doesn't have this problem - it uses the current NLS_DATE_FORMAT setting to format the date, regardless of the NLS preferences.
    I have vague memories (1.1.2 has largely faded from my memory) that when they first introduced the NLS preferences that they took precedence over the DB NLS settings (ie date formatted in SQL Developer based on NLS preferences).
    On the decimal separator, I have other vague memories of problems if you didn't set both the Decimal and Group separator, although a quick search on the forum didn't highlight something that seemed the same as your problem. After logging on (ie with the NLS preferences as the DB NLS settings), what do you get if you the NLS_NUMERIC_CHARACTERS parameter in the NLS_SESSION_PARAMETERS view? This should have two characters - the first one being the decimal separator and the second being the group separator.
    theFurryOne

Maybe you are looking for

  • Display decimal values in report

    Hi all, I have one question concerning the display of decimal values smaller than '1' in a report. In an SQL query some calculations are done and the result is displayed in a report. The problem is, that if the value of the result is smaller than '1'

  • A critical program error has ocurred in workbook after modif structure

    Dear all, I have a Excel Workbook with one query. This query has a structure. I have exchanged a structure for other one. From this moment when I try to modify the workbook or run it, the system returns next message: "A critical program error has ocu

  • Stuck CD in MacBook Pro

    Hi Folks, my 85 year old mother-in-law has this morning pushed a mini CD disk into the optical drive of an 18 month old top-spec 15 inch MacBook Pro and can't remove it.  I haven't yet physically seen this yet, but I understand that the disk may be a

  • Java.sql.Timestamp creation with value -4712.01.01 (oracle min timestamp)

    How can I create ajava.sql.Timestamp with the value -4712.01.01? Trying Timestamp timestamp = new Timestamp( -210863523208000l );leads to the date 4713-02-08 00:06:32.0. Or what is the minimal java.sql.timestamp value in Java? Edited by: bejq on 17.0

  • Two ATA s Back to Back

    Hello everyone, i'm just new to this and i'm here to learn how to solve a specific problem: Can this combination work: <USA PSTN> to <ATA>  <Internet> <ATA> to <EGYPT PSTN> to <Egypt Phone number> If yes: How? what are the most economic Cisco devices