Date Format issue in my report.

Hello Experts-
I created a report with a date prompt, which we need to enter two dates, start date and end date.
I followed the steps as they were in this link
http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
I changed the condition in the prompt to Date'1900-1-1' instead of TIMESTAMP'1900-1-1- 00:00:00
I.e.,
CASE WHEN 1=0 THEN CALENDAR.D_DATE ELSE Date' 1900-01-01' END
and
CASE WHEN 1=0 THEN CALENDAR.D_DATE ELSE Date '2999-12-31' END
I stored those two dates in two presentation variables start_date, end_date
In my report, I imposed a filter on my table that, date coulmn in my table is between Date'@(start_date}' and Date'@{end_date}'
But when I am running the report with entering two dates, I am getting this error:
*State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 12/1/2010 does not match the specified format. (HY000)*
I entered 12/01/2010 as start date and 12/02/2010 as end_date
Can you please guide me in this issue.

I think your date format is in different format with the date format u stored in presentation variable so better check the date format of the case function u wrote it in you variable that will solve the problem.

Similar Messages

  • Date Format Issue IN BEX REPORT

    Hi Experts,
    we are working on BW 3.5.
    we have a ODS where data is uploaded through flat file and there are 5 to 7 date field all made of Z infoobjects.
    So now the user is putting the data for these Date fields as 20110901 = 1st sep2011. but in report its coming as 09/01/2011
    when i checked all the Z fields that are created for this date fields have reference character as Date
    only one field is character so it is coming correct as given by the user
    but rest all are appearing in different format . In ODS also the date is coming as 09/01/2011
    now the user want all the data to be in the same format as given by HIM.
    I cant even change the properties of these Z info object removing the reference info object 0Date and make them character string.
    so now please suggest how to upload the date given by the user as it is without changing the format and also how to change the format for the back data as its flat file so No data can be deleted.
    thankkkkkkkks

    hello
    Bex analyzer is an excel add-in. Date formats are based on your regional settings.
    If you want to have a different date format in the sap gui then you have to change your user profile in sap system.
    Flat file upload needs the date format in a database format (YYYYMMDD).
    You can transform the date in the transformation step with rules or with a routine( abap coding).
    Thank you
    Yiannis

  • Error 10000 Date format issue

    Hi all,
    Has anyone seen the following error please or has a troubleshooting hint: -
    "[NT AUTHORITY\SYSTEM (15/10/2012 18:35:12) - Service request cancelled due to an error.
    Error Code: 10000
    Error Description: Failed to create lease requisition.
    Fault code: soap:Server
    Fault string: Service Form Field: 'WarningDate2' has Date format issue.
    Fault details: REQ_0024Service Form Field: 'WarningDate2' has Date format issue.
    CIAC = 3.01
    Date and Time format on the CCP, CPO, vmware and SQL servers all Italian (dd/mm/yy)
    This only happens when we add a Lease Time on the request.
    Do they all have to be set to the US format for this to work?
    If this is a regional setting thing, do I have to change the format on all of the servers (CIAC components)?
    Cheers
    md

    This test program might help...
    import java.util.*;
    import java.text.*;
    public class ExpandYear
        public static void main(String[] args) throws ParseException
         SimpleDateFormat sdf_2dyear = new SimpleDateFormat("MM/dd/yy");
         SimpleDateFormat sdf_4dyear = new SimpleDateFormat("MM/dd/yyyy");
         String test1 = "3/21/00";
         System.out.println("test1: " + test1 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test1)));
         String test2 = "4/9/99";
         System.out.println("test2: " + test2 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test2)));

  • SAP Business Objects 4.1 - American Date Format Issue

    This issue is something that keeps arising, if your viewing a crystal report, or building a new Webi report in 4.1 and viewing it, the date format seems to come out as M/D/YYYY HH:MM:SS, this never happened in 4.0.
    I will give an example, today I updated a 4.0 to 4.1 using the update path in a development server, and updated to 4.1 SP03 which is the latest. When I decided to write a Web Intelligence Report or create a Crystal report and publish this, all the date formats came out in American date format, and not the standard English one DD/MM/YYYY HH:MM:SS anymore. However if I go to the Live server which I haven't yet updated and is still on 4.0 SP04 Patch 11 and perform exactly the same its in English format as it always was.
    Can someone please enlighten me to what has changed from 4.0 to 4.1 in terms of configuration regarding the date formats changing.
    My server regional settings are English, and using the default GMT date time, so is my machine. 4.0 works 4.1 doesn't work the same.
    I have tried changing the .prm files in the connectionserver\dataaccess folder as well, this doesn't seem to make a difference and also used LOV's in universe objects and when using these in prompts you get ameican format. I have also changed the preferences in the BI Launch Pad to view English locale and the GMT date time for Greenwich Mean Time. 
    Please can someone advise or suggest where I am going wrong here and how to solve this.
    Many Thanks

    Thanks for your quick response. I have done the check on the universe design tool. I have tried the options - Migration forced and set English (UK). I purged the LOVs and refreshed. No luck as yet. Checked the locale and seems to be fine. When i change the BI launchpad - Web Intelligence preferences to HTML, then the LOV displays correctly - dd/mm/yyyy. The behaviour only occurs when displaying LOV in Applet mode. Maybe will have to look at some Java settings. Thanks
    Added Update- I created a variable =GetPreferredViewingLocale() and tested in WEBI Report with a date object. When I use the BI launchpad Web intelligence Preference to HTML - it display EN_GB. When  I use the BI launchpad Web intelligence Preference to Applet - it display EN_US. It seems to be taking preferred viewing locale as US in applet mode is there a way to fix this please.
    Added Update - It was a bug on Infoview and has been resolved on SP4 . The ADAPT Ref is ADAPT01718291. Just finished testing on UAT, going Live next week with SP4. 

  • Date Parameter Issue in XML Report

    Hi,
    I have developed a custom report using xml data definition, but it returns an error when running with date parameters.
    I have given the parameters like this..
    <?xml version='1.0' encoding='windows-1252'?>
    <dataTemplate name="XXX_REP" description= "XXX Report">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_ORG_ID"/>
    <parameter name="P_DIFFRENCE"/>
    <parameter name="P_FROM_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_TO_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_FROM_SO"/>
    <parameter name="P_TO_SO"/>
    </parameters>
    <lexicals></lexicals>
    <dataQuery>
    <sqlstatement name="Q1">
    --- />
    Error -
    XDO Data Engine Version No: 5.6.3
    Resp: 21623
    Org ID : 84
    Request ID: 670920
    All Parameters: P_ORG_ID=:P_DIFFRENCE=BREIF:P_FROM_DATE="2013/03/01 00:00:00":P_TO_DATE="2013/03/28 00:00:00":P_FROM_SO=:P_TO_SO=
    Data Template Code: XXX_REP
    Data Template Application Short Name: ONT
    Debug Flag: N
    {P_FROM_SO=, P_TO_SO=, P_TO_DATE=2013/03/28 00:00:00, P_DIFFRENCE=BREIF, P_FROM_DATE=2013/03/01 00:00:00, P_ORG_ID=}
    Calling XDO Data Engine...
    --SQLException
    java.sql.SQLDataException: ORA-01830: date format picture ends before converting entire input string
    Please help me to solve this issue?
    Thanks

    Please find the sql query,
    <?xml version='1.0' encoding='windows-1252'?>
    <dataTemplate name="XXX_REP" description= "Free Issue Audit Report">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_ORG_ID"/>
    <parameter name="P_DIFFRENCE"/>
    <parameter name="P_FROM_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_TO_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_FROM_SO"/>
    <parameter name="P_TO_SO"/>
    </parameters>
    <lexicals></lexicals>
    <dataQuery>
    <sqlstatement name="Q1">
    <![CDATA[
    SELECT tb2.name "OPR_UNIT",
    tb2.org_id "ORG_ID",
    tb2.header_id "HEADER_ID",
    tb2.order_number "ORDER_NUMBER",
    tb2.line_number "LINE_NUMBER",
    tb2.segment1 "ITEM",
    tb2.description "ITEM_DESC",
    tb2.ordered_date "ORDER_DATE",
    tb2.ordered_quantity "ORDER_QTY",
    free_qty "FREE_QTY",
    (tb2.ordered_quantity - tb2.free_qty) "DIFFRENCE"
    FROM (SELECT tb1.name,
    tb1.org_id,
    tb1.header_id,
    tb1.line_id,
    tb1.order_number,
    tb1.line_number,
    tb1.segment1,
    tb1.description,
    tb1.ordered_date,
    tb1.ordered_quantity,
    --xt.free_quantity "FREE_QTY",
    (SELECT XX_FREE_ISSUE_DISC_REP (oll.header_id, oll.line_id)
    FROM oe_order_lines_all oll
    WHERE oll.header_id = tb1.header_id
    AND oll.inventory_item_id = tb1.inventory_item_id
    AND unit_selling_price != 0 -- and oll.shipping_instructions is null
    free_qty,
    -- (tb1.ordered_quantity - xt.free_quantity) "DIFFRENCE",
    tb1.inventory_item_id
    FROM xx_free_issue xt,
    (SELECT ou.name,
    oh.org_id,
    oh.header_id,
    oh.order_number,
    ol.line_id,
    ol.line_number,
    it.segment1,
    it.description,
    ol.ordered_quantity,
    TO_CHAR (oh.ordered_date, 'DD-MON-YYYY') ordered_date,
    ol.inventory_item_id,
    ol.shipping_instructions
    FROM oe_order_headers_all oh,
    oe_order_lines_all ol,
    hr_all_organization_units ou,
    mtl_system_items_b it
    WHERE oh.header_id = ol.header_id
    AND oh.org_id = ou.organization_id
    AND ol.inventory_item_id = it.inventory_item_id
    AND ol.ship_from_org_id = it.organization_id
    -- AND ol.price_list_id = 6007 --Free Issues
    AND ol.shipping_instructions = 'Free Issue'
    --AND oh.order_number = '1001385'
    ) tb1
    WHERE TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    xt.effective_date_from,
    SYSDATE))
    AND TO_DATE (
    NVL (
    xt.effective_date_to,
    SYSDATE))
    AND tb1.inventory_item_id = NVL (xt.item_id, xt.free_item_id)
    AND TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    :P_FROM_DATE,
    tb1.ordered_date))
    AND TO_DATE (
    NVL (
    :P_TO_DATE,
    tb1.ordered_date))
    AND tb1.header_id BETWEEN NVL (:P_FROM_SO, tb1.header_id)
    AND NVL (:P_TO_SO, tb1.header_id)
    AND tb1.org_id IN (:P_ORG_ID, tb1.org_id)) tb2
    where (tb2.ordered_quantity - tb2.free_qty) = decode(:P_DIFFRENCE ,'DETAIL',(tb2.ordered_quantity - tb2.free_qty))
    union
    SELECT tb2.name "OPR_UNIT",
    tb2.org_id "ORG_ID",
    tb2.header_id "HEADER_ID",
    tb2.order_number "ORDER_NUMBER",
    tb2.line_number "LINE_NUMBER",
    tb2.segment1 "ITEM",
    tb2.description "ITEM_DESC",
    tb2.ordered_date "ORDER_DATE",
    tb2.ordered_quantity "ORDER_QTY",
    free_qty "FREE_QTY",
    (tb2.ordered_quantity - tb2.free_qty) "DIFFRENCE"
    FROM (SELECT tb1.name,
    tb1.org_id,
    tb1.header_id,
    tb1.line_id,
    tb1.order_number,
    tb1.line_number,
    tb1.segment1,
    tb1.description,
    tb1.ordered_date,
    tb1.ordered_quantity,
    --xt.free_quantity "FREE_QTY",
    (SELECT XX_FREE_ISSUE_DISC_REP (oll.header_id, oll.line_id)
    FROM oe_order_lines_all oll
    WHERE oll.header_id = tb1.header_id
    AND oll.inventory_item_id = tb1.inventory_item_id
    AND unit_selling_price != 0 -- and oll.shipping_instructions is null
    free_qty,
    -- (tb1.ordered_quantity - xt.free_quantity) "DIFFRENCE",
    tb1.inventory_item_id
    FROM xx_free_issue xt,
    (SELECT ou.name,
    oh.org_id,
    oh.header_id,
    oh.order_number,
    ol.line_id,
    ol.line_number,
    it.segment1,
    it.description,
    ol.ordered_quantity,
    TO_CHAR (oh.ordered_date, 'DD-MON-YYYY') ordered_date,
    ol.inventory_item_id,
    ol.shipping_instructions
    FROM oe_order_headers_all oh,
    oe_order_lines_all ol,
    hr_all_organization_units ou,
    mtl_system_items_b it
    WHERE oh.header_id = ol.header_id
    AND oh.org_id = ou.organization_id
    AND ol.inventory_item_id = it.inventory_item_id
    AND ol.ship_from_org_id = it.organization_id
    -- AND ol.price_list_id = 6007 --Free Issues
    AND ol.shipping_instructions = 'Free Issue'
    --AND oh.order_number = '1001385'
    ) tb1
    WHERE TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    xt.effective_date_from,
    SYSDATE))
    AND TO_DATE (
    NVL (
    xt.effective_date_to,
    SYSDATE))
    AND tb1.inventory_item_id = NVL (xt.item_id, xt.free_item_id)
    AND TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    :P_FROM_DATE,
    tb1.ordered_date))
    AND TO_DATE (
    NVL (
    :P_TO_DATE,
    tb1.ordered_date))
    AND tb1.header_id BETWEEN NVL (:P_FROM_SO, tb1.header_id)
    AND NVL (:P_TO_SO, tb1.header_id)
    AND tb1.org_id IN (:P_ORG_ID, tb1.org_id)) tb2
    where (tb2.ordered_quantity - tb2.free_qty) != decode(:P_DIFFRENCE ,'BREIF',0)
    ORDER BY 4,5 --tb2.order_number, tb2.line_number
    ]]>
    </sqlstatement>
    </dataQuery>
    <dataStructure>
    <group name="G1" source="Q1">
    <element name="OPR_UNIT" value="OPR_UNIT"/>
    <element name="ORG_ID" value="ORG_ID"/>
    <element name="HEADER_ID" value="HEADER_ID"/>
    <element name="ORDER_NUMBER" value="ORDER_NUMBER"/>
    <element name="LINE_NUMBER" value="LINE_NUMBER"/>
    <element name="ITEM" value="ITEM"/>
    <element name="ITEM_DESC" value="ITEM_DESC"/>
    <element name="ORDER_DATE" value="ORDER_DATE"/>
    <element name="ORDER_QTY" value="ORDER_QTY"/>
    <element name="FREE_QTY" value="FREE_QTY"/>
    <element name="DIFFRENCE" value="DIFFRENCE"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Thanks

  • Date Format issue while creating date parameter

    While creating date parameter in the crystal reports 2008 with SQL Server 2008 database connection, I want to change the date format according to the specified format in the database.
    For ex: YYYY/MM/DD and MM/DD/YYYY
    This paramter will be editable in the viewer i.e. I'm going to provide option to the user to change start date and end date for data selection.
    Please help!
    Thanks in Advance!

    i found this
    i am trying to get the Enter Values screen for parameters to allow entry in a specific format 'DD-MON-RRRR' connecting to an Oracle database. I found that a hack is possible yet I would prefer a clean solution that wont need files changing on client machines. The hack involved changing some javascript files within the Crystal Reports directory. The problem is I now have the date from the calendar in the correct format but it displays the following prompt: Please enter DateTime in format "dd/mm/yyyy hh:mm:ss".
    Is there a way to supress this or better yet a way to specify date format without changing the javascript files of Crystal Reports.
    I am using Crystal Reports 2008 SP1.
    answer---
    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:

  • Date format issue in oracle database

    Hi,
    Back end : Oracle 11.2.0.2.0
    Front end : Forms 11g
    In our application we are facing issue with TO_DATE('DD/MM/YYY') Date format conversion.
    Example: TO_DATE(P_date,'DD/MM/YYYY') giving the result as 20-Dec-0009
    In the above eg the Parameter P_date is coming as '20-dec-09' from the front end (forms 11g)
    The Nls_date_format parameter at database level is set as 'DD-MON-RR'
    Its working fine after changing the conversion as TO_DATE(P_date,'DD/MM/RRRR') .- If we do like this , we need to change in many places , so instead of doing this, is there other solution wrt database settings/Application settings where we can change and fix this issue
    pls help us to solve the issue.
    Regards.
    sathish k

    892913 wrote:
    Hi,
    Back end : Oracle 11.2.0.2.0
    Front end : Forms 11g
    In our application we are facing issue with TO_DATE('DD/MM/YYY') Date format conversion.
    Example: TO_DATE(P_date,'DD/MM/YYYY') giving the result as 20-Dec-0009
    In the above eg the Parameter P_date is coming as '20-dec-09' from the front end (forms 11g)
    The Nls_date_format parameter at database level is set as 'DD-MON-RR'
    Its working fine after changing the conversion as TO_DATE(P_date,'DD/MM/RRRR') .- If we do like this , we need to change in many places , so instead of doing this, is there other solution wrt database settings/Application settings where we can change and fix this issue
    pls help us to solve the issue.
    Regards.
    sathish kWell the solution is right in front of you. As you say, your database environment is set to DD-MON-RR so your database is set to use 2 digit years (something most people moved away from with the millenium bug more than 10 years ago now). You can either change all your code to use RRRR as you've found, or change your database NLS setting to DD-MON-RRRR and change your front end application to pass you a date with 4 digit years so you get e.g. '20-dec-2009'.
    So many people worked hard to resolve the millenium bug issues all those years ago, but still we have people, all these years later, who want to reintroduce the problem. So sad.

  • Date comparision issue in the report

    Hi Buddies,
    I explain the scenario,
    I have an dunning letter statement report which basically run for the three remainders (1,2,3) to the customer.
    If the remainder 3 runs , i want to display the pervious remainder dates of 1 and 2 in my report.
    If the remainder 2 runs, i want to display the pervious remainder date of 1 in my report.
    I have date column in the dunning letter history table as Dunning_Date.
    How can we achive this in sql?. I am getting struck over here, please give your advice to do it.
    Regards
    Ram

    I think your date format is in different format with the date format u stored in presentation variable so better check the date format of the case function u wrote it in you variable that will solve the problem.

  • Date format issue in Web Analysis...

    Hi,
    I am creating a report by connecting to a couple of relational tables. I'm using SQL Spreadsheet and SQL Subscription objects. I'm creating a Date filter using SQL Subscription object (list box) using the data source created by the SQL Spreadsheet. My database default date format is 'DD-MON-YYYY'. But in the list box it shows as 'YYYY-MM-DD HH24:MI:SI". When this value is selected, I get a "Literal mismatch error" since it doesn't match with the value stored in the database.
    Why the format in WA is showing in this format even though it is fetchting it from my database in which the format is 'DD-MON-YYYY'. Is this related to WA date format settings? I cannot find anywhere in WA studio where I can set date formats. Is this something to be set in the server or webanalysis.properties file?
    PS: I tried to work around this by storing the date value as character in the database but then I am not able to sort them ascending or descending order.I also tried creating the web analysis relational database connection which creates a virtual cube. But even there when I build the report using Data Source Navigator, it is showing date in 'YYYY-MM-DD HH24:MI:SI'.
    H

    Hi,
    Let me provide you the details of the report.
    A concurrent program has been created with executable as XDODTEXE (XML publisher report).
    In the data definition, we have embed one query which fetches transaction date and due date from some tables based on some conditions.
    Now, we have to show these date columns in report output which will be in EXCEL format.
    We want these date outputs to be printed in dd/mm/yyyy format. That is the reason we had given-
    TO_CHAR(TO_DATE (SUBSTR(transaction_date,1,10), 'DD/MON/RRRR'),'DD/MM/RRRR') in the SQL query.
    Problem in output is- In date columns, data after 12th is fine i.e. in format dd/mm/yyyy, it is printing properly.
    But before 12th, it is printing in format mm/dd/yyyy as mentioned below-
    01/10/2012--wrong format, it should be 10/01/2012
    01/11/2012--wrong format, it should be 11/01/2012
    01/12/2012--wrong format, it should be 12/01/2012
    13/01/2012--correct format (dd/mm/yyyy)
    14/01/2012--correct format (dd/mm/yyyy)
    How can i send you the attachment, is there any way/any email id?
    Rgds-
    Sumir

  • Date format interfering with interactive report

    My APEX version is 3.1.1.00.09.
    I'm using a method described elsewhere to change the global date format of my application. I have application items for a start and end date. I have two application processes, one for On Load: Before Header, the other for On Submit: After Page Submission - Before Computations and Validations. They both do:
    DBMS_SESSION.SET_NLS(param => 'NLS_DATE_FORMAT', value => '''fmMM/DD/fmYY''')
    Okay, all is well with that, my dates seem to stay the way I want them to. Since our upgrade I'm going through each section of my application and updating as necessary, and I particularly want to use the interactive reports. They work fine when the page is loaded, but if I change any options on the interactive report and submit it, I get an "ORA-01843: not a valid month" error. If I refresh the page, everything works as it should.
    What can I do to get around this, or do I have something wrong with my method that is causing this to happen?
    Chris

    Hi Chris,
    I tried to replicate this, but could not. Now granted, I tried this using the new "modern" method of controlling the default application date format via the new application Globalization attribute "Application Date Format". I set the Application Date Format to fmMM/DD/fmYY and my IR on EMP worked just fine.
    If you can replicate this on apex.oracle.com (using Application Date Format), I'd be happy to take a look at it.
    Joel

  • Persistent prompt date format changes when reopening report in Webi

    Hi all
    I have a PERISTENT prompt that asks for a date when you run the report. The format is "MM/dd/yyyy". I also have a variable that displays this value in the form:
    =ToDate(UserResponse([Query 1];"Please enter date:");"MM/dd/yyyy")
    When the report is run the prompt works and you select the date from the calendar and all works fine. You can refresh the report and keep the persistent date prompt value if you like. Great.
    The problem comes when the report is saved and then reopened for modifying.
    On my report I get #ERROR associated with the above variable. This is because the peristent value in the prompt has been "re-loaded" in the format "MM/dd/yyyy hh:mm:ss a".
    The only way I have found to resolve this is to refresh the report and reselect a date which makes the persistent prompt kind of useless if you close the report.
    Any suggestions on solving this would be appreciated.
    Thanks
    Sharon

    Sharon,
    The problem comes when the report is saved and then reopened for modifying.
    When opening the report in something other than modify, does the problem also occur?  I too have noticed different behavior with persistent date prompts and whether running in modify or Infoview modes.  Most deployments do not give their users the ability to run a public report in modify mode (though, possibly they could copy it to their own Favorites and run it in modify mode there).  So perhaps this "problem" is by design and is resolved by running the report in the more common Infoview mode?
    Thanks,
    John

  • Uk date format issue with ASP and Access Database

    I have an Asp form which updates records in an Access
    database. Problem is
    that the date format in the database record is dd/mm/yyyy
    (UK), when
    the record is displayed on the form it is mm/dd/yyyy(US)
    which after I
    update the record in the database the date has changed to the
    new format.
    I have tried everything I can to change the format but to no
    avail...anyone any ideas how I can resolve this issue?
    Thanks
    Steve

    stevo.s wrote:
    > Hi
    >
    > I have tried changing the format on the date field on
    the server behaviours
    > panelto ddmmyyy. Also have tried to set the form field
    format to ddmmyy. I have
    > also tried to use a function I got from a posting
    somehwere on the net to no
    > avail. <%function ddmmyyyy(varDate)
    > ddmmyyyy = Day(DateValue(varDate)) & "/" &
    Month(DateValue(varDate))
    > & "/" & Year(DateValue(varDate))
    > end function
    >
    > I believe that this is a recognised issue with
    Dreamweaver and Access but
    > can't seem to grasp the work around! Problem being I am
    teaching myself through
    > books and internet articles and can be weeks at a time
    without being able to
    > look at the issue..each time I come back to it it is
    like starting all over
    > again! I was hoping that somewhere out there there is a
    simple solution the
    > issue perhaps a date picker with the built in
    functionality to address the
    > issue...I am keen to understand how to deal with the
    issue rather than just
    > change my database date field to fudge the problem as I
    am in the UK and when I
    > eventually start to use the application I would like
    there to be some
    > consistency with dates and that users are familiar with
    the format.
    >
    > Any help gratefully received!
    Its not Dreamweaver, or Access, its your servers locale, its
    set to US
    format, not the UK.
    On your page at the top use:
    <% Session.LCID = 2057 %>
    This will force the page into using UK formatted dates. Use
    it on any
    page that needs to format the page correctly.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • Date Format Issue with Interactive Form

    Hi, here is the scenario:
    -We just upgraded to SP17 from SP15
    -I'm using Livecycle Designer 8.0
    When we were on SP15, this was not an issue.  I was wondering if anyone encountered this problem and if so, if there is a workaround?
    I create an interactive form to start a guided procedure process.  Im passing the data from my desktop Interactive form to another callable object in GP to send an email with the PDF attached.  This all works correclty. 
    My date/time fields are set to type DATE with a display pattern of YYYY-MM-DD.  When I create the form in the GP administrator to my desktop and open the PDF, the date format is correct. However, when I submit the form to start the process, the incomming date fields to be mapped to my second Callable Object have change in format from "2009-02-18" to  "Wed Feb 18 00:00:00 EST 2009".
    This is true in the new form I receive via email, and also in NWA->monitoring->guided procedures when I check the instances.  The input mapping is already set to the false formatting.
    When I open the form from the second callable object with the incorrect date format (in designer), the date's display patterns are set to YYYY-MM-DD but are not being displayed as such.
    New discovery....I tried to create a Business Logic callable object and format the date.  I created a string input and date output and mapped them accordingly.  When I perform a "TEST" from the design time and use the input "Wed Feb 18 00:00:00 EST 2009", the string is automatically converted to 18/02/2009 in the output, which is what I want to occur.  The only problem is when I run the actual process, the same "Wed Feb 18 00:00:00 EST 2009" is being output instead of the 18/02/2009 in the TEST.
    Anyone have any ideas?
    Thanks.
    Edited by: Warren Clements on Feb 26, 2009 2:20 AM

    This test program might help...
    import java.util.*;
    import java.text.*;
    public class ExpandYear
        public static void main(String[] args) throws ParseException
         SimpleDateFormat sdf_2dyear = new SimpleDateFormat("MM/dd/yy");
         SimpleDateFormat sdf_4dyear = new SimpleDateFormat("MM/dd/yyyy");
         String test1 = "3/21/00";
         System.out.println("test1: " + test1 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test1)));
         String test2 = "4/9/99";
         System.out.println("test2: " + test2 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test2)));

  • Date format Problem in forms&reports Services 10g

    Hi Dears,
    I Faced a problem during running reports ( i am using forms& Reports Services 10g), when i pass the parameters via parameter form to the report (built in forms10g Rel 2.0) its appearing in arabic like (25-يناير-2010) as my Date Formate is (DD-YYYY-MON) and NLS_LANG parameter is defined as Arabic_Saudi arabia.AR8MSWIN1256 so as a result report is not running due to unknown Date formate, how can i change the Same Date format (DD-YYYY-MON) to appear in english like (25-2010-JAN)
    Thanks

    You could specify the parameter as type VARCHAR2, explicitly cast it (maybe to DD.MM.YYYY) when you pass it from forms and cast it back in your query, like TO_DATE(:P_PARAM, 'DD.MM.YYYY')

  • Date format in forms and reports in windows 7

    i have problem with date format in developer 10g and developer 6i
    it show date in this format 2011/25/1
    it sould be like this 25/1/2011
    how i can reslove this
    in xp it work fine

    Are you generating Forms and Reports from Oracle Designer, or using Oracle Developer tools directly?
    If this is a Forms question, try the Forms forum - Forms
    If this is a Reports question, try the Reports forum - Reports
    Either way, or with Designer, the problem is probably that you are allowing the date format to default instead of explicitly specifying a date format. Always specify the date format - you want "DD/MM/YYYY".

Maybe you are looking for

  • What to do when my hard drive is failing

    I have had my 160 GB ipod classic for 1 year and after unplugging it from my computer it said that it had no music on it. Then I plugged it back in and i got message 1439 saying that it was corrupt. After running some tests and attempting to restore

  • Cannot create a new podcast episode!!!!!

    out of the blue, after reading HT's suggestion to create a software instrument via creating a new podcast episode, if i click on the bottom option Create new podcast episode, i get a Box that says new project from template and asks me to name and loc

  • How to enhance an Input NUMC field to a QUAN field in  web UI ?

    Hi All ,     I am facinga a particular problem in the web UI .     I have a component in that I have a field which is a NUMC 'Input' field .     My requirement is to convert this field to a QUAN type field .     Hence I have created another field in

  • Fixed Assets Quantity Reports

    Hi All,, In the asset master i find the quantity of assets in the current date. But if i want to generate list of assets and their quantities on a past date, say January 31st, is there a standard report for the same? Please advise. Thanks in Advance,

  • What can be replaced with FoxTab, since it is not available for FireFox 5.0?

    Is there any version of FoxTab available for FireFox 5.0?