Include format date inside If condition

Hi,
I need to format date which displays based on the IF condition.
1.<?xdoxslt:ifelse(Current_stub_number___Local_ID46<Stub_Total___Local_ID66,' ’,G_L_Date___Local_ID18)?>
above to display blank or date value G_L_Date___Local_ID18 based on condition which is workingfine.
2.<?xdoxslt:ifelse(Current_stub_number___Local_ID46<Stub_Total___Local_ID66,' ’,<?format-date:G_L_Date___Local_ID18;'MM-DD-YYYY'?>)?>
I inlcuded the format date in place of G_L_Date___Local_ID18. Which is giving error as error in expression. date format should be M/D/YYYY.
Thanks in Advance,
Vijay Kumar

Sandeep,
Thanks for providing the solution. It is working fine. How ever, I need the date to be printed as 1/24/2013. Month/day should be printed without zeros when it is single digit. If the month/day are double digit should be printed as it is
Ex1: 1/2/2013 , Ex2: 12/24/2012 .
Thanks,
Vijay Vattiprolu.

Similar Messages

  • Error When Refresh Formatted Data inside Excel Analyzer

    I have build a Excel template and load up this to the BI Publisher Server. When I call this template after the log in works fine. When I refresh the data normal it works also fine, but when I try to refresh formatted Data I get the error "Error: This report does not support HTML as an output format." I will not use html output inside Excel, I will use the original Excel template with refreshed data.

    Hi Tim,
    The Refresh Formatted Data works on MS Excel 2003.
    May need to check if its really supported on MS Office 2002.
    Btw another question, is it possible to create an excel template without using Excel Analyzer?
    Also when I used the generated excel file of Excel Analyzer as template, when the report is generated the data sheet sometimes is not filled with correct data or sometimes there is no data at all, even if the parameters used is the same as the one used in generating the original excel file using Excel Analyzer. This happens most of the time for reports with Concatenated Queries or SQL Queries using "CURSOR" to group a set of data. Note that on initial generation of excel file using Excel Analyzer, correct set of data is displayed. It is only when it is used as template and viewed/exported in Excel format that data is not properly loaded.
    Please advise.
    Thanks!
    Uniz

  • Is there any way to print  the data inside  the Notes field of MIR6 Report

    Hello Gurús.
    We need to include the data inside the Notes field in the report MIR6 - INVOICE OVERVIEW - report.
    Is there any way to print  the data inside (comments)  the Notes field as well in the Report  ?
    We found that the only way is to open the Notes and print it, but it takes time, any idea ?
    Rgds.
    MCM.

    There's nothing built-in that does that. If you only have text fields and they don't have any formatting or other property that would prevent it (e.g., Date, character limit), you can run a simple script to populate each field with the field name, and then print. A more complicated approach would be a script that adds text annotations near/over each field that shows the field name. This would just be for documentation purposes, but it's possible. Post again if you'd like help with the first. You'll probably have to pay someone for the second approach if you don't want to do it yourself.

  • Smart Album : Inconsistency in the Date Type format used inside Aperture ?

    Hello,
    After using Aperture 2.0 for some days, I tried to create a Smart Album using as creation option for the Album the Date + "is in the Range" option which is leaving two blank fields for filling the two dates which are supposed to be the date limits of the pictures that the user wants to select.
    My OS X is set to the italian language so our date format is the dd/mm/yy type.
    When I tried to insert some dates in our format (dd/mm/yy) the SmartAlbum seemed to not work at all (not selecting any picture, or was coming out with weird results).
    After checking carefully that there was no filter set which could prevent the correct visualization of the pictures I had no explanation for the problem.
    At first I thought that this specific option was buggy as the other Smartalbum creation options (Keywords etc.) seemed to work properly.
    Then I had the idea and I tried to use the english format (mm/dd/yy) for the two dates inside the date range fields and to my surprise everything worked properly.
    So basically it seems that Aperture recognises the dates correctly only giving in input the american date format mm/dd/yy.
    What is not so noice is that there is no check on the date limit correctness so basically it is possible to really mess up with the dates.
    I'm also actually surprised the Aperture doesn't complies with the OS X date type which could seem the logical thing to do or at least is not consistent with the date type management inside the program because for example the pictures Dates are instead correctly listed in the List View of the browser according to the OS X date type (dd/mm/yy).
    I was wondering what is happening in countries where the date separator is not the "/" but the "." like typically used in Germany which would add another variable to the software routine which is interpreting the date input fields.....
    Maybe this could help other non english users who could have been confused like me on the same issue....
    Did you notice the same behaviour ? Am I missing something ?
    Uby

    Smart Albums will search in the Folder/Project that is shown at the top of the search HUD as well as all Folders and Projects "below" in your structure. However, it will not search through any Albums in that structure. Here is an example:
    You images are always stored in Projects (yellow icons) and lets say this is how it looks:
    FolderA/ProjectA (this Project stores: ImageA1, ImageA2)
    FolderA/ProjectB (this Project stores: ImageB1, ImageB2)
    Let us say that you have two Albums like below but there is an image from ProjectB in AlbumA, which looks like this:
    FolderA/ProjectA/AlbumA (this Album has pointers to: ImageA1, ImageA2, ImageB1)
    FolderA/ProjectB/AlbumB (this Album has pointers to: ImageB1, ImageB2)
    If you create a Smart Album below ProjectA it will only show ImageA1 and ImageA2 since it only search ProjectA and not AlbumA.
    This may be the issue you have.
    Are you 100% sure that the Project your Smart Album is pointing at does include the images you are trying to search through. As you see above then it won't find them if they are only in the albums below that project.
    Here are a few rules that I follow in order to avoid getting confused over where my images are located: A) Only include images in albums below a project that are stored in that project. B) Create all my smart albums at top library level and if necessary add extra filters like project name.
    Hope you understand.
    Karsten

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • How to print formated data/report on client's printer (Web Application)

    Hi All
    I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
    Application is web based
    Technology used are Java - jsp - servlets
    i want functionality like...
    when user click on print button/link, data is fetched from server and all pages (it is formated data so i want alignment on page while printing) should be printed one after another.
    Also printer selection dialog should displayed one time when user click on print button/link.
    Questions:
    1. How i will transfer all data to client (web browser) from the server ??
    2. And how i can print that data on user's printer ??
    There is requirement (or limitation) that I can not use applet for this purpose.
    And also it is not fix that we must use java tech., we can use any othere tech. but condition is that it must support multiple platform (in short platform indipendant)
    There is solution like ...
    I can use window.print() function of DOM/JavaScript,
    but it prints only one page which is displayed on browser.
    I don't want to display any page. and want to print all pages.
    if any one done or have idea then let me know.
    Thanks in Adv.
    Shailesh Koradiya

    thanks linxpda for reply,
    we can use ActiveX component for windows platform for printing purpose, same way we can use platform specific component for printing... (for linux, unix, sun solaris etc...)
    if it is possible then let me inform.
    Thanks,
    Shailesh Koradiya

  • Formatting dates in xsl transformation

    Hi:
    We have a problem transforming dates inside an xls mapping. Date and Time come from different fields in DDBB, so the straight way should be extract year, month and day from date, hour from time, concat everything together and finally push that string to format-DateTime. Well, that works except when hour is lower than 10, format-dateTime does not write a leading 0 (does not convert from '1' to '01'). We have tried everything, and found that using ora:formatDate works well when used in an Assign activity, but we cannot use that function inside the xls mapping we need. This is an example line:
    <xsl:value-of select="ora:formatDate('2001-01-01T1:00:00.000+01:00','yyyy-MM-dd HH:mm:ss')"/>
    BPEL message is "Invalid XPath expression"
    Does anybody know what are we doing wrong? This is driving me creasy..

    format that ora:formatDate uses is at http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    it is normal that you get "Invalid XPath expression" this is not a XLST function; user dateTime(date, time) instead. for futhermore info check it out at http://www.w3.org/TR/xpath-functions/#durations-dates-times

  • Including the Date Range Criteria as part of the Title

    I am using LastFullMonth (great function) as part of my criteria for a report, and want to include this data as part of the title - "Bla Bla Report for the Following Dates:  mm/dd/yyyy to mm/dd/yyyy".  I am sure I will need to create a custom formula, but I can't figue out how to convert the evaluation of LastFullMonth to a string, so that I can concantinate it to the rest of the title.
    Much TIA
    Jim Cook

    I created a formula - maximum(LastFullMonth), which gave me the last day of the month, then formated it to show "Month, Year".

  • Formatting Dates in jsp

    I want to format my dates inside a jsp page, which are all in yyyy-mm-dd format currently, to look like mm/dd/yyyy. Is there a way to do it? the fmt tag only seems to do extremely simple formatting (aka full, medium, etc, not real formatting).

    Yawmark must be pining away for code likeUDateFormat* df = udat_open(UCAL_DEFAULT, UCAL_DEFAULT, NULL, "GMT", &status);
    for (i = 0; i < 3; ++i) {
      myStrlen = udat_format(df, myDateArr, NULL, myStrlen, NULL, &status);
    if(status==U_BUFFER_OVERFLOW_ERROR){
    status=U_ZERO_ERROR;
    myString=(UChar*)malloc(sizeof(UChar) * (myStrlen+1) );
    udat_format(df, myDateArr[i], myString, myStrlen+1, NULL, &status);
    printf("%s\n", austrdup(myString) );
    /* austrdup( a function used to convert UChar* to char*) */
    free(myString);

  • How to format Data in subject line of an Email

    I have an email submit button on my LiveCycle form and the client wants data from the form in the subject line of the email. I have the button set up and the patterns set up on the fields but the data in the subject line doesn't display the way it does in the fields. this is what I have.
    var oDoc = event.target;
    var nSubject = Page1.Top.txtEmpID.rawValue + " " + Page1.Top.dteTo.rawValue;
    oDoc.mailDoc({
    cTo: "[email protected]",
    cSubject: nSubject,
    cMsg: Page1.Top.txtLastName.rawValue + " " + "Performance Agreement"
    The Employee ID is 7 digits including leading zeros (0123456) and the date is formatted MM-DD-YYYY. When it goes to the subject line it doesn't show the leading zeros (123456) and the date is formatted YYYY-MM-DD.
    Any help is appreciated, Thanks.

    To get the formatted date striong use formattedValue instead of the rawValue in your scriptings.

  • "Do not include a break inside the TD tag" is ignored

    In Edit | Preferences | Code Format in DW CS5, the setting "Do not include a break inside the TD tag" is ticked but DW is still putting a line break in the tag like this...
    <td> </td>
    Any idea why the setting is being ignored?
    Malcolm

    Artisan Internet wrote:
    Both fair comments, many thanks. The reason I want to remove the space is because it's impossible to have an empty row with a height of less than about 6 pixels (used as a spacer or for coloured divider lines of different thicknesses) when there's a space within the TD tag. The space counts as a character which means that the row can't be less than the height of a character.
    I know I could make a transparent spacer GIF, and create custom styles for different horizontal rules in the stylesheet, but it's always been a lot quicker to simply use a table row with a height.
    Looks like I'll just have to carry on deleting the spaces from the code.
    Malcolm
    Your best solution is to insert a transparent spacer.gif and give it the dimensions you want. That will overrule all the 'empty' defaults. Please remember, the spacer need only be in one cell of the row. All other cells, unless they have larger content, will follow suit... applies to rows and columns.
    (The 'height' attribute by itself, as you've discovered, is kind of dicey. So is the width.)

  • Can I include a bean inside a customization project?

    Hi,
    I am customizing out-of-the-box Profile (.jsff) pages. I'll have to create a bean which will get binary data from Oracle. I have a project to customize the Profile pages. Can I include the bean inside the project? Or, should I create a separate project, and have the pages referenced to the bean class. How should I go for that?
    Many Thanks

    Hi,
    For now, you can change any attributes on user's profile page like department and etc. What's about if I want to create a dynamic drop-down department list for a user to pick? The department list will be generated from a database source. In jdeveloper, you can have various roles. I'm switching back and forth between 'default' and 'customization' roles. In the default role, I'm going to create a javabean to create the dynamic department list. In customization role, I customize the 'look and feel' of the profile page. This is kind of pain in the neck. Am I going to a wrong direction? Is there anyway of getting the work done without switching.
    Secondly, on the profile page, I use EL to reference an attribute in a javabean. But, when I load the page, it errors out.
    <Jan 24, 2012 3:16:22 PM EST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Error processing viewId: /edit-basic/view1 URI: /oracle/webcenter/peopleconnections/profile/view/jsf/regions/ootbedit/editbasic.jsff actual-URI: /oracle/webcenter/peopleconnections/profile/view/jsf/regions/ootbedit/editbasic.jsff.
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'PersonBean' resolved to null+
    at com.sun.el.parser.AstValue.getTarget(Unknown Source)
    at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
    at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
    Any help would be appreciated. Thanks.
    Edited by: 891549 on Jan 26, 2012 9:45 PM

  • Need help trying to "include Vector Data" when saving as an EPS? Anyone?

    Although I have done this many times before, I cannot seem to figure out why the check box "include vector data" is greyed out.  I am working in CMYK - I have placed my corporate logo as a smart object as usual - and none of my layers have effects applied.  Scratching my head right now.  This is a large format poster so I will definately need to resolve this somehow.  Any guidance would be greatly appreciated.

    Mike Ornellas wrote:
    You have to have a layer with a vector mask applied to it for the feature to show up.
    Or live text or a clipping path.
    Copy the logo from Illustrator to Photoshop. When asked, say you want a Shape Layer (I forget the exact wording). If the logo must be more than one colour, duplicate the layer for each additional colour and, on each layer, delete all path segments that are not needed for that particular colour. Group the layers in a folder for easy moving and scaling.
    And why are you using EPS format? Is there a reason you aren't using the far superior in every way Photoshop PDF format?

  • Tool to query the data inside the data domain

    Hi,
    Is there a tool that you can use to query data inside a data domain? Like SQLDeveloper for Endeca?
    Thank you!
    Marco

    Marco,
    This is a very valid request.  We'll have something shortly after 3.1 is released that probably will fit your needs.  We have a component for 2.3, 2.4 and 3.0 already but aren't investing in making it "production ready" since there's a new release coming so soon.
    Essentially the component we built lets you run EQL, see the results (limited to top 10) as well as how long the request takes.  There's also the ability to issue additional commands (like "clear the cache") that can help with performance testing while writing your queries.
    Also, keep in mind that we may decide to "retire" it if something like this is included in the product in a future release.
    Regards,
    Patrick Rafferty
    http://branchbird.com

  • Put XML data inside XML tag

    hi
    all,
    can i put XML data in XML file because when i vaildate it with schema it shows following ParserException :
    " The processing instruction target matching "[xX][mM][lL]" is not allowed. "

    File1.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE foo [
    <!ENTITY file2 SYSTEM "file2.xml">
    ]>
    <foo> 
      <included-xml>
        &file2;
      </included-xml>
    </foo>File2.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <bar>
    Other elements and text
    </bar>
    [pre]
    Then feeding file1.xml to a parser should include file2.xml, inside the <included-xml> element with the correct character encodings and any entities expanded.
    What actually are you trying to achieve?
    Pete                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for