Change date format in dashboard promt and calendar

hi,
do any one know how to change the date format when using the calendar option in dashboard prompt. As the user picks a date from the calendar the format becomes DD-MM-YYYY. The customer would like YYYY-MM-DD!!
Any suggestions?

Hi Jose, i tried to update the settings in the NQSConfig.INI file, but there was no luck.
I would like to mention my issue here again.
I have a dashboard prompt built on a Date Column and I would like to see it as a Calendar Type. The value of this prompt is save in a variable pDate.
In the answer, i have a filter on a date column(This is exactly the same column used to build the Prompt). The filter i set as Advance SQL Filter as I want to use the TimeStampAdd function.
The filter is set as Date_Key = TimeStampAdd(SQL_TSI_DAY, -6, '@{pDate}')
The above request when ran from the dashboard, gives me the following error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 932, message: ORA-00932: inconsistent datatypes: expected DATE got NUMBER at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
SQL Issued: SELECT Calendar."Time Id" saw_0, "Sales Facts"."Amount Sold" saw_1 FROM SH WHERE Calendar."Time Id" = TimeStampAdd(SQL_TSI_DAY, -6, '01/01/2002 12:00:00 AM') ORDER BY saw_0
My understanding is that the Calendar control is populating pDate variable in 'mm/dd/yyyy hh:mi:ss' Format, while the TimeStampAdd function expect the variable as 'yyyy-mm-dd hh:ss:mi' Format.
Is there any other place that we need to update on the server that will force the Calendar to return the prompt value in 'YYYY-MM-DD HH:MI:SS' Format ?
Thanks
Sai

Similar Messages

  • 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

  • Setting Date format in dashboard prompt and filter view.

    Hi All:
    I have created the dashboard promt upon two dates. But it shows date like
    "11/1/2007 6:00:00 AM" But I want only "dd-mm-yyyy" format. What I can do for it. I use only current_date. Thanks
    Ali Haroon

    Thanks for help
    But it shows date in 'YYYY-mm-dd' format but I want 'dd-mm-yyyy'. And how we give alias in coloumn formula.
    Thanks
    Ali Haroon Nawaz

  • 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

  • Problem About Date Format in Dashboard

    Hi All:
    I still have problem about date format in dashboard and dashboard prompt. When I use cast(dealdate as date) in dashboard prompt(coloumn formula of deal_date) and filter view(In edit view of filter coloumn formula) Then It converts the date format from mm/dd/yyyy to yyyy-mm-dd But I want format in dd-mm-yyyy.
    ANd also one problem more that is when I use cast function in filter coloumn formula then how I give alias to it. Because it shows same like that cast(deal_date as date) on dashboard filter view.
    Pluzz help me to solve this problem
    Haroon

    Changing the ini files should change the date format. Have you amended the correct instances of the date format? In dbFeatures there is one for every ODBC connection.
    For example in my DBFeatures.INI
    [ DATA_SOURCE_FEATURE = ODBC_300 ]
    DATE_FORMAT = 'dd-mm-yyyy' ;
         TIME_FORMAT = 'hh:mi:ss' ;
         DATE_TIME_FORMAT = 'dd-mm-yyyy hh:mi:ss' ;
         IDENTIFIER_QUOTE_CHAR = '"';Also a file on the presentation side in OracleBI \web\Config called localedefinitions.xml.
    Inside that there appears to be defaults for localisations - maybe it is possible to amend your locale in the Administration settings of the dashboard.
    However, I haven't tried this sorry.

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

  • How to change date format in BR?

    Hi all!
    Does anybody know how to change date format in BR?
    I created global variable with type DateAsNumber and usage type run-time promt and used it in BR
    Then I launched a BR on the form and chose necessary date. Date stored in MM/DD/YYYY format, but I need DD/MM/YYYY.
    I tried to change format through Planning but then I recieved uncorect result(for instance, I selected 4(April)/14/2009 but it was stored as 4/02/2010)

    Hi,
    the date is always stored the same in Essbase. I think it's YYYYMMDD.
    You can change the format you enter the date in webforms and business rules by changing your planning application settings (Preferences->Display Options).
    Cheers.

  • 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

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

  • 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

  • Change date format yyyy-MM-dd to MM/dd/yyyy

    Hi,
    How to change date format yyyy-MM-dd to MM/dd/yyyy
    Thanks

    a_bean wrote:
    Thanks guys,
    String updated = original.replaceFirst("(\\d{4})-(\\d{2})-(\\d{2})","$2/$3/$1");
    it workedIf, as you said in an earlier post (reply #4), you had the date as a java.util.Date object then this cannot have worked. Are you saying the date is stored as a String and not as a java.util.Date ?

  • BEX: Changing date format from 'mm/dd/yyyy' to 'mon/yyyy'

    Happy Friday! I need to change the date format in my BEX query from a regular date format (dd/mm/yyyy) to display as 'JUN/2008'. Please note that I dont want to modify the date field but just need to display it month and year format in the bex query. Would truly appreciate a complete answer.
    Thanks

    Hi
    Check the first thread
    Hope this will solve your problem.
    How to change Date format in Bex to DD/MM/YYYY
    Check ur Windows or Excel settings. Try changing it in Control Panel->Regional Options->Date->Short Date format.
    change it in Control Panel->Regional Options->Date->Short Date format.
    Changing Date format in BEx & Web Application
    I Need to change Date Format in BEx report
    Regards
    M.A
    Edited by: M.A on Jun 27, 2008 10:12 PM

  • Changing Date Format in ALV List for VKM1 transaction

    Hi All,
    I have to change date format to MM/DD/YY in the ALV list display of VKM1 transaction. There are user exits available.
    I am trying to use EDIT_MASK option of the field catalog.. Without changing the code, I give value as __:__:__ or MM/DD/YY in the EDIT_MASK field of the fieldcatalog during DEBUG. Just before the RESUSE_ALV_LIST_DISPLAY is called.. but it is NOT showing any change in the display.
    Please advice any alternate way to do the same.
    Thanks a lot.

    Hi,
    If u`ve access to User parameters, try tcode SU01 and give ur user name in the first parameter. Navigate to the defaults tab and you can find options for Date display and decimals display. Now identify the date format to your liking and change the same. From the next logon in ur user name, changes are reflected on your reports.
    Reward points if my answer is worthfull.
    Regards

Maybe you are looking for

  • HT4994 How do I use which is sim with the device

    How do I use which is handsome with the device

  • Developer Certificate

    Good afternoon, I am researching how to set up and configure about 30 different Apple devices in my network.  From my research, I have found that the method I believe I am going use, is using a Mac Mini with OS X Server, and utilizing the Configurato

  • [SOLVED] Log hard drive read/writes

    Is it possible to monitor everytime a file on the hard drive is read from or written to and to add that information to a log? Last edited by Chris Denton (2010-07-25 10:32:57)

  • IPad 1 unresponsive after installing iOS 5?

    Not even a week ago, I downloaded the new iOS 5 for my ipad 1. At first it was fine, but after a bit of usage, it would suddenly turn itself off or restart for no reason. Eventually it kept happening more frequently and more quickly. Now it won't tur

  • 7.0.2 How to view all music files on iPod

    I upgraded my iTunes version on my Mac and now I am having some issues deleting songs off a playlist. Basically I have a podcast playlist and then I just have all my music dumped on the iPod not on a playlist. After I had finished listening to a bunc