Date format not working in XML Publisher

Hi,
We have applied a date format while formatting the report layout using the Template.
The same is not getting reflected.
The output is as follows : 5/1/2006 0:0:0
i.e date with time stamp.
We require DD-Mon-RRRR format.
The same has been tried using the Text Form Field Options.
When applying the same for Number it works . But in case of Date it does not.
Can anybody who has worked on the same, let us know the appropriate way to do the same.
Thanks,
Angelica.

XMLP does not recognized the field as date. The only format recognized as date is
YYYY-MM-DDThh:mm:ss+HH:MM
So, either make the data model to return dates in the above format, and then apply date formatting in XMLP, or do the job on the data model side and return the string in the desired final format (which, again, then will be string, not date for the XMLP)

Similar Messages

  • Date comparision not working in BI-Publisher in one scenario.

    Hi,
    Iam using sqlquery as a datamodel for BI-Publisher report. I have a requirement that the input parameters startdate and endate are Date types. When the user enters startdate and enddate and clicks on view, the report should show data which falls in between those dates.
    Here is the sample query i used.
    select * from
    table1
    where begintime >= :p_StartDate and begintime <=:p_EndDate
    Here begintime is a timestamp and p_StartDate and p_EndDate are just dates. So when comparing begintime with p_StartDate/p_EndDate, i guess its taking default time from that date and because of that the comparision is failing in 1 case. i.e, In the above query, though the comparision operator is >= or <= , ultimately > or < is getting effective. So to acheive the actual result, I need to give one day more for start and end dates.
    However I found a way to acheive this without adding extra day to both the dates. Here it is :
    select * from table1 where
    ( begintime >= to_timestamp(to_char(:p_StartDate) || '00 00 00', 'DD Mon YYYY HH24 MI SS')) and
    ( begintime <= to_timestamp(to_char(:p_EndDate) || '23 59 59', 'DD Mon YYYY HH24 MI SS'))
    But the above is working in sqleditor like jdeveloper database navigator. But not working in BI-Publisher.
    BI-Publisher is throwing error saying
    "ORA-01830: date format picture ends before converting entire input string"
    Please help as to how to go about this problem or any alternative solution.
    Thanks & Regards,
    -Vijay-

    Hi,
    I think it will be fine to trunc the begin time since :p_StartDate and p_EndDate are just dates without time stamp
    i.e:
    select * from
    table1
    where trunc(begintime) >= :p_StartDate and trunc(begintime) <=:p_EndDate;
    any problem with this.Please share the thought.
    Best Regards,
    mahi

  • Locale (date format) not working

    In my preferences I set Language: English, Locale: Malta
    and there it shows: Sample Date: 09 Sep 2013 16:28
    But when reading the forum all (or most) dates and times are shown in 12 hour format: 2:44 PM. For example the post dates of messages.
    Is this a bug? Or am I looking at the wrong setting?
    For the record: I posted the above at 16:33 CET  (14:33 UTC)

    xerces8 wrote:
    If I open this web page in another browser, where I am not logged in, it shows this for my first post in this thread:
    xerces8 Sep 9, 2013 2:41 PM
    (UTC time, it seems - I guess 10 more years will pass until web page creators get this right)
    You are optimistic.  They've already forgotten the lessons of Y2K.    Or never learned it because they are too young to have been working then and think what they've heard of it was a hoax.

  • Date format not working in 11G ?

    Hi All,
    i am using Oracle 11g on windows 7
    i try to execute this format of date not allways show me same format
    select To_date('2/02/2012' ,'DD/MONTH/YYYY') from dual; (when i want to save to date column ) but the error is NOT VALID MONTH
    select To_date('2/02/2012' ,'DD/MM/YYYY') from dual; (when i want to save to date column ) this is OK
    Also when i want to show date
    select To_char('2/02/2012' ,'DD/MM/YYYY') from dual; (when i want to save to date column ) error INVALID NUMBER
    select To_char('2/02/2012' ,'DD/MONTH/YYYY') from dual; (when i want to save to date column ) error INVALID NUMBER
    select To_char('2/02/2012' ,'DD/MON/YYYY') from dual; (when i want to save to date column ) error INVALID NUMBER
    i try to get NLS_DATE_FORMAT in windows registery under oracle but not found i try to search for it in registery but not found.
    by using regedit in cmd
    regards

    select To_date('2/02/2012' ,'DD/MONTH/YYYY') from dual; (when i want to save to date column ) but the error is NOT VALID MONTHThe month format specified by you is MONTH but the value entered is 02, Oracle is expecting a month like 'FEBRUARY'
    select To_char('2/02/2012' ,'DD/MM/YYYY') from dual; (when i want to save to date column ) error INVALID NUMBER'2/02/2012' is a string and you are trying to convert it to string again, why?
    select To_char('2/02/2012' ,'DD/MONTH/YYYY') from dual; (when i want to save to date column ) error INVALID NUMBERAgain why convert string to string?
    select To_char('2/02/2012' ,'DD/MON/YYYY') from dual; (when i want to save to date column ) error INVALID NUMBERAgain same thing...
    i try to get NLS_DATE_FORMAT in windows registery under oracle but not found i try to search for it in registery but not found. by using regedit in cmdNLS_DATE_FORMAT is a oracle parameter why are you looking in windows registery?
    Query v$parameter to find the details of the parameter.
    I guess you have serious issue with your basics so please read the oracle document.

  • Default Date format not working.  I'm confused

    NLS_DATE_FORMAT is DD-MON-RR
    but when I select sysdate, or do an insert.. thats not the format..
    select sysdate from dual; shows 4/27/2010..
    inserts dont work with 27-APR-10 they only work with 4/27/10 or 04/27/10..
    I dont get it..

    Merlin128 wrote:
    NLS_DATE_FORMAT is DD-MON-RR
    Where is it set to that? NLS_DATE_FORMAT can be set in various places .... OS environment, oracle session level, db initialization ....
    but when I select sysdate, or do an insert.. thats not the format..
    select sysdate from dual; shows 4/27/2010..
    inserts dont work with 27-APR-10 they only work with 4/27/10 or 04/27/10..
    I dont get it..

  • "Date formatting not supported yet"??

    When I add imports to get around the problem described in my previous
    email, I run into an exception that says "Date formatting not supported
    yet". The exception is thrown in util/HtmlUtil.java. What's the
    intention here? Why don't we just return the value unformatted? How
    should I handle this so I can take advantage of the formatting if it is
    supported someday? Are there any other formatting types which I need
    to "handle" in order to run?

    Dan--
    When I add imports to get around the problem described in my previous
    email, I run into an exception that says "Date formatting not supported
    yet". The exception is thrown in util/HtmlUtil.java. What's the
    intention here? Why don't we just return the value unformatted? How
    should I handle this so I can take advantage of the formatting if it is
    supported someday? Are there any other formatting types which I need
    to "handle" in order to run?The exception lets you know that there is a specific issue you need to work
    around during migration. The reason we don't just return the unformatted
    value is that we didn't want to give the impression that date formatting
    worked when it doesn't (yet).
    If you just want the value to come through without an attempt at formatting,
    the correct thing to do is to change your JSP tags to eliminate the date
    formatting attributes. If this is a loss of data (the format masks), then
    you should just comment them out rather than delete them.
    The whole issue of date formatting is unfortunately complex. Suffice to say
    that it is far easier for the developer to format the date as they wish in
    their code then it is for us to try and provide generic date formatting.
    The issue revolves around having all the necessary information in order to
    do the formatting in a generic way.
    Todd

  • "date format not recognised" in DBMS_SESSION, on page over db_link

    Hi,
    I have an Apex 4.0 page which has a region that gets data constituted from a connection across a database link.
    The host database is 11.1.0.6 and the remote database is 9.0.1. (Both Standard Edition)
    I am using EPG.
    Intermittently, I receive the following error (having turned debugging on):
    Wed, 25 Aug 2010 10:21:53 GMT
    ORA-20867: ORA-01821: date format not recognized
    ORA-02063: preceding line from CLIFF
    ORA-06512: at "SYS.DBMS_SESSION", line 157
    ORA-06512: at "APEX_040000.WWV_FLOW_LANG", line 387
    ORA-06512: at "APEX_040000.WWV_FLOW", line 9284
    ORA-06512: at "APEX_040000.F", line 267
    ORA-06512: at "APEX_040000.F", line 294
    ORA-06512: at line 30
    I'm somewhat confused as to what is causing the generation of this error.
    After receiving this error, anything I else that I do that involves building 'pages' works perfectly fine. I can login/out, no problems.
    However, if I try and RUN any page within my application thereafter (all of these access local DB information apart the 1 that generates the error), I continue to receive exactly the same error - no matter which page I am trying to access.
    Help?
    - Tony.

    Hi Patrick,
    No. I haven't yet applied the patchset. May do that this afternoon now.
    I don't believe I've manually set any date formats anywhere. Just entered the Builder with default options (apart from choosing a theme) and away I went!!
    What surprises me is that the application has no problems viewing all the data. The functionality all seems fine. I had this working on a previous setup for months,. without any problems, using version 3.2. (This wasn't migrated though, this was a rebuild from scratch.)
    From further "tests", the error seems to occur when I edit the page that involves the remote data.
    Normally, a user would land on the page from having used a hyperlink column on a previous page's classic report region.
    The point at which it all starts to go wrong is if I connect to the page as normal, but then EDIT the page, and then try and re-run it.
    The problem with the date format then re-occurs repetitively, no matter which page I try and view. Sometimes pages will load some components, but then generate odd errors with others. e.g. I have a small series of 3 dial charts, all with slightly varying SQL series (same SQL, slightly different where clause). Now I am seeing that 1 may load and 2 may give odd flash errors...
    Right now, I just tried to Export my application - and I still got given the date format error!! Sub-sequent retries allowed the operation to complete successfully.
    The only way I seem to be able to eradicate the recurring errors is to kill all the currently connected ANONYMOUS users in the DB, and then relog to the application.
    - Tony.

  • Comments Not Working on Website - published to non-.mac server

    Hi there. I've read on a few non-apple sites of users having trouble with Comments and some other functions of their websites, built in iWeb, not working when they publish to a non-.mac server. I've built my website in iWeb, published via CyberDuck to a BlueHost server -- but now users can not post comments on my blog.
    Has anyone found a way to fix this issue??
    It seems incredibly pointless to even now have my own domain. I'm super close to giving up on iWeb all together because of this ridiculous issue.
    Thanks in advance.
    www.kellerowski.com

    Unfortunately, blog comments are a MobileMe only feature along with the hit counter etc.
    You have to publish to MobileMe if you want these features.
    There are workarounds however. If you want to continue to use an iWeb blog, then you can use a third party comments feature. Take a look here http://www.intensedebate.com. It is free to set up on the site and all you then do is copy and paste the code into an html snippet on the page you want comments to appear in whatever format you want them.
    Your other option is to ditch iWeb and if it is just a blog you want, use something like http://www.wordpress.com. This is free and you don't need a domain name and the blog is published on WordPress servers.
    Your other option for a blog is http://www.posterous.com.
    The iWeb blog system is not that good, so you might look into changing if a blog is what you want rather than a website.

  • Scheduling is not working in BI Publisher

    Hi all,
    I am trying to schedule the report on BI publisher it's giving the following error:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    The Connection descriptor used by the client was: localhost:1521:xe (I am using oracle database 10g and obiee 10.1.3.2).
    I have followed the instructions provided in the link "Exploring Advanced Features of Oracle Business Intelligence Publisher"
    Created mail server as instructed in the link ...
    Problems are:
    Unable to connect incoming and outgoing mail servers. I have used my machine host name i.e user as both incoming and outgoing server (u.ser.com)
    also Scheduled jobs are not working in BI publisher.
    Please let me know the solution for the above problem.
    regards
    chandra kanth.

    gurus,
    pls answer the above one, as i am unable to proceed further.
    regards
    chandra kanth.

  • ORA-01821: date format not recognized Error in PL/SQL report-4.0

    Hi,
    I am using Apex 4.0 and i have a Classic report(function returning query) which selects a date column.
    The query runs at the backend and gives the output.
    But when i run the report on the page, i get the error
    report error:
    ORA-20001: Error fetching column value: ORA-01821: date format not recognizedThe values for the date column are like this 14-MAR-13,01-FEB-13 etc... Everything seems to be right.
    But I have no idea why this error occurs.
    Thanks
    Divya

    Aren't these errors annoying! But there's a data / format mismatch for sure. What I need to see -- and what will tell you what is wrong -- is
    1) exactly what the data is and
    2) exactly what the format string is that is being used to convert it.
    The values for the date column are like this 14-MAR-13,01-FEB-13 etc... Question: Is this the source data or the target data ( what it's supposed to look like after being converted)?
    Let's start there:
    What is the source? Is it a DB column? Is it type date or VARCHAR2 or what?
    If VARCHAR2, then give us an example of the data that is failing.
    What is the format -- I assume there is one -- being used to convert the data?
    Are you doing a TO_CHAR or a TO_DATE?
    Give us lots of detail, please. Then it should be easy to solve.
    Regards,
    Howard

  • Dashboard link is not working from BI Publisher

    Dashboard link is not working from BI Publisher. Please let me know How to fix this problem.

    Please somebody guide me.
    Dashboard link is working fine from the Apps Server Machine. But the link is not working from other machines. Do I need to setup machine.domain:<port_number> any where.
    Thanks,
    Vara

  • Javascript is not working in the published file

    Hi ,
    I using the javascript in the captivate 5.5 to generate the text from variable in the textbox. It is working when I press the F12 button, But it is not working in the Published file.
    I called the function in the button and I written the script in the slide.
    Please let us know how to proceed..
    Thanks
    Sathish BC

    This is the Script I used in the captivate 5.5 and I called the text using variable in the text box.
    var objCP = document.Captivate;
    function valText()
    var a  = objCP.cpEIGetValue('A');
    var b  = objCP.cpEIGetValue('B');
    if (b>=5)
    objCP.cpEISetValue('B',0);
    GetAryVal(b);
    objCP.cpEISetValue('rdcmndGotoFrameAndResume', objCP.cpEIGetValue('currSlide'));
    function GetAryVal(e)
    var a1  = objCP.cpEIGetValue('Txt');
    var b1 = a1.split("#");
    var c1 = b1[e-1].split("$");
    objCP.cpEISetValue('C', c1[0]);
    objCP.cpEISetValue('D', c1[1]);
    valText();

  • DOCUMENT SETTING that ALLOW FUTURE POSTING DATE does not work in PL34

    Hi Expert,
    I am now using SAP B1 2005B (7.40.252) sp:00 pl:34 and realised that the ALLOW Future Posting Date was not working. 
    I still can remember while I was using pl:11 at B1 2005A, there is no such problem and wish to know when can the bug fix up? in which sp/pl?
    Wish to hear goods news ASAP .
    Thank you.
    Joan.

    Basically can you please clarrify your requirement as to what you want to change ..what I understand you would need to change the code for ABAP - RFEBBE00
    Value Date code in the above abap
            IF PAR_VALD = 'X'.
              MOVE C2-VALDT TO HLP_VALDT.  "  VALUE DATE
             write hlp_valdt to umsatz-budat dd/mm/yy.
            ELSE.
              MOVE C8-BALDT TO HLP_BALDT.
              MOVE HLP_BALDT TO HLP_VALDT.
            write hlp_valdt to umsatz-budat dd/mm/yy.
            ENDIF.
               MOVE HLP_VALDT(2) TO UMSATZ-BUDAT.
               MOVE HLP_VALDT2(2) TO UMSATZ-BUDAT3.
               MOVE HLP_VALDT4(2) TO UMSATZ-BUDAT6.
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • Date format not recognized -- urgent help needed

    Hi,
    I'm having a problem when start sqlplus in dos command window. If I start it from C:\oracle\ora81\bin, it won't started and error message showing like 'Date format not recognized' and then come back to DOS.
    I do have OWB installed which also has SQLPLUS installed so that there is no problem if I start it from C:\ORACLE\owb92\bin.
    For some reason, the path is setting as C:\oracle\ora81\bin before C:\ORACLE\owb92\bin so the default always goes to 81 folder.
    If restart the DB instance, and this problem is gone. But it comes back after some application running (our own application and Oracle provided OMBPlus ). We double check our own application, and there is no where to "alter session ...".
    Any help will be very appreciatged,
    Thanks,
    Daming

    I'm having a problem when start sqlplus in dos command window. If I start it from C:\oracle\ora81\bin, it won't started and error message showing like 'Date format not recognized' and then come back to DOS.
    Do you have a file called 'login.sql' in the folder 'C:\oracle\ora81\bin'? If there is one, is there an 'alter session' command in this file?

  • "Display the number of found items in the find toolbar" Not work in xml file

    Word count feature that comes with version 32 does not work in xml file.

    This only happens when Firefox uses the "pretty print" layout if there is not XSL stylesheet file.
    * <b>about:config</b> page: layout.xml.prettyprint = false
    *http://mxr.mozilla.org/mozilla-release/source/content/xml/document/src/nsXMLPrettyPrinter.cpp
    *http://mxr.mozilla.org/mozilla-central/source/dom/xml/nsXMLPrettyPrinter.cpp
    *chrome://global/content/xml/XMLPrettyPrint.xml
    *chrome://global/content/xml/XMLPrettyPrint.xsl

Maybe you are looking for

  • In bdc how we handle tabstrips...& tablecontrols

    hi gurus,             in bdc how we can handle tabstrips and table controls.... pls any one suggest .. regards, praveen

  • Problem with putting peopleo n hold (E63)

    Hey guys. During convo when i either try to put someone on hold or answer another incoming call whilst on the phone i get 'Request Rejected' Any ideas? Thanks.

  • A-Z list for iTunes App Songs

    I used to have an A-Z list down the right side of my iTunes "Songs" page on my iPhone 5s.  It disappeard.  Not sure how I managed to do that, but I can't get it back.  Anyone know how that feature is turned on/off?

  • FTP command in background job

    hi all, I am using a program which sends file via FTP. When I run it in foreground it works fine. But in background it gives error i.e. 'Invalid FTP Handle'. I am using the following function modules for FTP: 1. 'FTP_CONNECT' 2. 'FTP_R3_TO_SERVER' 3.

  • World Clock widget bug

    I noticed that the cooling fan on my PB G4 was running more or less continuously and that the case was very hot. This is quite unusual. I opened Actifvity Monitor and found that my CPU was at 85% activity while the computer was idle. I traced it to t