Date format issue in Custom Pages

Hi All
I have set ICX: Date Format profile option as 31-Dec-1999 and under preferences set the date format as DD-MM-YYYY. But still in my custom pages when i fetch data and show it shows in the format YYYY-MM-DD. Could anyone please tell me is it the default mask for OAF. If so then what is the significance of setting preference format mask when it does not get reflected.Please help.
Thanks
Raj

Hi Sachin,
where did you set the SET COUNTRY in the layout?
It should be in the Initialization tab in the Global defnitions. Please confirm that.
Regards,
Selva K.

Similar Messages

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

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

  • Word 2011 for Mac Issue with Custom Page Size

    I have installed Microsoft Office 2011 for Mac on my brand new iMac.  I'm using Microsoft Word 2011 for Mac and I have opened the "Word Publishing Layout" template (this is essentially Microsoft Publisher).  I'm trying to set up custom page sizes by performing the following steps.  I go to File --> Page Setup and use the following settings:
    1. Settings: Page Attributes
    2. Format For: Any Printer
    3. Paper Size:  I choose "Manage Custom Sizes"
    4. I create a 24x36 page and save it
    When I do this, Word 2011 (and Word 2008) for Mac will only go to a maximum of 22 inches wide and 22 inches in height.  Is there any way around this?  I need the big sizes to do digital proofs for my business.  I don't want to scale down to 12x18 (essentially cutting the proof by 50%) because when I import it into my other program that can accommodate any size document, I have to do a lot of manual work to get things back to scale.  Thanks in advance for your help.  If we can figure this out, I'll be grateful.
    AC

    Please re-post on the Office for Mac Product Forums

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

  • SSIS XML task date format issue

    Hi, there;
    I created an SSIS package XML task to import customer XML data.     The LocaleID is set to "New Zealand"
            I have an xml file which has date fields as attribute (dd/MM/yyyy). I created this package and run it in an .NET console program.
        The interesting thing is that: when I run under my own windows account, I can import data into SQL properly (dd/MM/yyyy), but when I run it as scheduled task (under another special windows account) it gives America format (MM/dd/yyyy).
        What I found is that my personal account in AD is set to New Zealand, the special windows account given by the infrastructure engineer
    is set to "default"  which is American user.
        So, my question is that is there any way/something we can set in the package or
     XSD somewhere to tell SSIS what the source date format is rather then controlled by the "AD account"?. The reason is that imagine that
    if I have 2 XML files from different clients, one is New Zealand date format(dd/MM/yyyy), another one is American date format (MM/dd/yyyy), I want same package (NOT same XML task) to import 2 XML files with result in New Zealand format.
       Thank you in advance.
    Cheers
    Robert
    qiuwei

    Hi Robert,
    Based on your description, there are two scenarios:
    You want to format the XML file column date with dd/MM/yyyy or MM/dd/yyyy format to dd/MM/yyyy. In this scenario, we can use Derived Column Transformation to convert the MM/dd/yyyy format to dd/MM/yyyy format for the American XML task, then use the new
    column maps to the corresponding Destination column. The following expression is for your reference:
    LEFT(RIGHT(Column,7),2) + "/" + LEFT(Column,2)+"/"+ RIGHT(Column,4)
    The XML file data already import to SQL table, different country people view the data with different date format. Please note that a datetime column is stored as binary in database, the display format is related to the SSMS server. For more details, please
    see the following KB:
    INF: How to Set the Day/Month/Year Date Format in SQL Server
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Date Format issue while Connecting to Oracle8i and Oracle10g

    Hi All,
    While playing around with JDBC drivers, I came across this weird issue. I have a Local machine with Japanese Locale and I have 2 Database Servers that too with Japanese Locales and Oracle 8i and Oracle 10g each. Now, I connect to these database using JDBC drivers for 8i and perform "select sysdate from dual". Then, m getting dates with 2 different format. While 8i being returning Date with 'DD-MON-RRRR' format, 10g returns date with 'DD-MM_RR' format.
    Initially I thought it might be because of some VM Locale thing but when I connected to 10g DB from 8i Oracle client, this behaviour did not changed. Which mean in this case also the date format returned ny the query was different.
    Guys F1! F1! (Help! Help!) Appreciate your help to understand this process. Links and suggestions welcome... :)

    I guess u did not read the whole content. I mentioned this but the difference in behaviour with respect to JDBC drivers made me post this in Java forum.
    As I mentioned, it has something to do with the jdbc driver or oracle server itself. Agreed, but what that "something little to do" is the maiin question.
    I mentioned that I want to understand this process about how JDBC driver works with Client VM specific Locale settings while interacting with Oracle Database.
    Don't you think it could be interesting to know, what it is which brings this difference in results. Its all about clarifying the small bits & pieces which stays unanswered if one overlooks. Its own perception, I felt like asking question, no offense right!

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

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

    Hi All,
    I am receiving the Begin Date and End date from one of the RFCs and then using these dates for the import parameters of another RFC.
    But the second RFC receives the dates either in YYYYMMDD or DD.MM.YYYY format.
    The BeginDate and EndDate of the first RFC are binded to two input fileds so they appear as Date pickers in the runtime.
    As I select the date range , I need to execute the second RFC before submition and so the Import of the Second RFC should receive the date range .
    I have gone through many Forum threads but the way they are suggesting, returns me no right result. If I follow the Simple date Format, I parse the date and have a String output which the second RFC does not accept.
    And if I assign the parsed value to the a Date type then I receive a null value for the same. I need your help , please suggest and guide.
    Regards
    DK

    Hi Mohanthy,
    As you told, BeginDate and EndDate of the first RFC are binded to two input fileds and the values of BeginDate and EndDate has to be sent as input fields to another RFC.
    Just get the values from the node generated by first rfc and set them to the i/p node of second rfc.
    Date Format should not be  a issue in this case and for your information the date which is used by RFC is Java.SQL.DATE Class.
    Regards,
    Kiran Kumar

  • Date Formatting Issue

    Hi ,
    I Have Procedure where it take input parameter date value
    for eg
    PROCEDURE P_GET_EMP_DATE(V_DATE IN DATE)
    IS
    V_BEGIN_DATE DATE;
    BEGIN
    SELECT max(BEGIN_DATE) into V_BEGIN_DATE FROM
    emp where TRUNC(APPT_DATE) =V_DATE+90;
    END;
    now my doubt is APPT_DATE is storing the date format in 12/16/2002
    but V_DATE which iam passing to the procedure is in the format
    '14-jul-2008' . When i execute the procedure its compiling and executing
    successfully.
    but when i try to test the single sql manually i get the following error
    ORA-00932: inconsistent datatypes: expected DATE got NUMBER .
    i know to fix the issue we have to do like this
    TO_DATE(TRUNC (APPT_DATE),'YYYY/MM/DD') < = TO_DATE('2007/03/31','YYYY/MM/DD') + 90;
    my doubt is how pl/sql engine interpreting the dates and returning the results
    though there are errors in the query.does it automatically doing formatting
    and type conversions ?

    You seem to be a bit confused about how to work with Oracle dates...
    Basically, we humans represent dates as strings in particular formats: 14th July 2008, 14/07/2008, 07-14-2008, etc.
    Oracle stores dates in its own particular format.
    In order for us to communicate with Oracle's dates, we either manipulate something that's already stored in the database as a date (eg. sysdate or a date column) OR we use the to_date and to_char functions, which convert a string to an oracle date format and vice versa.
    When working with dates in Oracle, you should stick to using the date format. If you're working with things already stored in dates, then great - you've got nothing to worry about conversion wise (and more specifically, never to_date something that's already in the date format!). You only have to worry if you have to specify a particular date as a string - then the to_date function comes into play.
    If you're wanting to output a date, you can either rely on your nls_date_format parameter setting (ok for ad-hoc queries, bad for coded queries!!) or you can explicitly state the format you want it to appear in using to_char.
    Hopefully that's clarified things for you

  • Date formatting issue when sending excel file via mail

    hello People ,
    I am facing date issue .
    I have inetrnal format of date as yyyymmdd.
    I am converting it into  YYYY-MM-DD.
    CONCATENATE gs_output-end_date(4)
                        gs_output-end_date+4(2)
                        gs_output-end_date+6(2)
                        INTO lv_date_to SEPARATED BY gc_seperator. " gc_separator = '-'.
            gs_output-end_date = lv_date_to.
    I am writing this date and sending an excel file via MAIL . I get date result as MM/DD/YYYY always.
    Now if i pass in YYYY.MM.DD and used the same code where gc_separtor = '.'.
    I get output as YYYY.MM.DD.
    Can any one give me an idea why in format YYYY-MM-DD it is getting overwritten but for yyyy.mm.dd it gives me as yyyy.mm.dd?
    Regards,
    Abhi..
    Edited by: Thomas Zloch on Jul 11, 2011 2:30 PM - subject enhanced

    Thanks , Rohit ,
    I have change my date format in SU01 settings .
    It is now made to [ YYYY-MM-DD] but still '-' is replaced by MM/DD/YYYY.
    Also note that when i format in the following way
       CONCATENATE gs_output-rdadate(4)
                        gs_output-rdadate+4(2)
                        gs_output-rdadate+6(2)
                        INTO lv_rda_date.
    instead of
       CONCATENATE gs_output-rdadate(4)
                        gs_output-rdadate+4(2)
                        gs_output-rdadate+6(2)
                        INTO lv_rda_date sepearted by '-'.
    I get output as YYYYMMDD.
    Regards,
    Abhishek.

  • Data Formatting issues

    Hi All,
    I have some formatting issues in a query.
    For example if there is a single column with dats as follows:
    testcol_
    0
    5
    10
    10.55123
    10.678
    (note: they are all percentage values)
    The data should look like this
    testcol_
    0.00
    5.00
    10.00
    10.55
    10.67
    (Note: 2 decimal places, not rounded)
    I wrote a query just like below
    select to_char(trunc(test_col, 2), '0.99') from test
    The data I got is:
    0.00
    5.00
    Then I changed the query like this:
    select to_char(trunc(test_col, 2), '00.99') from test
    The data I got was
    00.00
    05.00
    10.00
    10.55
    10.67
    But in this case the issue is the first two rows.
    They should be just
    0.00
    5.00
    Is there any possible way that I can write a query so that the data will exactly look like below:
    0.00
    5.00
    10.00
    10.55
    10.67
    It would be great if anyone could help me out.
    Thank You,
    Varma

    with test as (
                  select 0 test_col from dual union all
                  select 5 from dual union all
                  select 10 from dual union all
                  select 10.55123 from dual union all
                  select 10.678 from dual
    -- end of on-the-fly data sample
    select  to_char(trunc(test_col, 2),'FM90.00')
      from  test
    TO_CHA
    0.00
    5.00
    10.00
    10.55
    10.67
    SQL> SY.

  • EXCEL FOR MAC 2011 Date Format Issue

    Excel for Mac 2011 14.1.0  on iMac OSX 10.7.5.  I see no forum category for Microsoft Office for Mac so just chose iMac. Checked Microsoft site first with no success.
    PROBLEM:
    In new spreadsheet I selected one column and formatted to date format. 
    It was working fine.  Then after I'd been doing some editing and having issues, I closed the file then opened it again.
    The cells/column I'd formatted for dates was showing the date as strange numbers.  Like this:  Instead of 9/12 it shows 41894.
    Even though the individual as well as column cell format is still  "Date" with example style of "3/14" selected, it will not work.
    I cannot find a way to "Clear Formatting" either -- only Clear Contents.
    However, when I cut and paste the cells to another worksheet the date is fine -- but I've lost all my formatting and don't want to start over.  Besides, I need to know what is causing the problem.
    HELP!!  Is this a bug?

    Granny,
    You will probably find help on the Microsoft Office website. Excel isn't covered here.
    Jerry

Maybe you are looking for

  • Video Doesn't display ?

    Hi. I create a simple page & put an apDiv box on the page. I then put a small swf file in it. Everything looks good & I even test it out in "Preview in Expolorer & Firefox". Video plays great. Only thing is when I go to the live URL nothing apears...

  • Com.sun.security.auth.module.NTSystem compilation issues in Unix

    Hi , I m using com.sun.security.auth.module.NTSystem in one my java application to get the current domain. The application and app server are running on windows OS. Now i want to switch my OS to Unix, where i m getting compilation issues with com.sun

  • Read out current date on mobile devices?

    Hello there, how can I read out the current date in a mobile Flex-App?

  • Premiere Pro Won't recognize Nividia GTX 780 6 GB Graphics Card Mac Pro Tower Mavericks

    Just figured this out, update to the latest driver but you will also need the Quadro K5000 driver to make it play nice so that you can use GPU acceleration. NVIDIA DRIVERS Quadro & GeForce Mac OS X Driver Release 334.01.02 I am now able to utilize th

  • Append Structure for Table

    Hi All, I have added an append structure to a table in SE11. While adding the append structure i opened the table in display mode and added the append structure. I have also activated the append structure. But in my transport request i can  only see