Difference between real Hijri Date with Oracle Hijri date

Dear ALL,
I will appreciate if any one please let me the solution for this problem. In my application I show the Date in Hijri using the NLS setting. but the issue that "i face a deference between the real hijri date with oracle hijri date"
Assume that the real hijri date on 18-SEP-2012 was 02/11/1433 in hijri but in oracle was 03/11/1433
when I execute the following query it shows me "1433/11/03", but the actual Hijri date is "1433/11/02"
select to_char(to_date('20120918','YYYYMMDD'),'YYYY/MM/DD', 'NLS_calendar='''||'ARABIC hijrah') FROM DUAL;
IFTIKHAR

Hi,
It works correctly for me, too:
SELECT  TO_CHAR ( TO_DATE ('20120918', 'YYYYMMDD')
          , 'YYYY/MM/DD'
          , 'NLS_calendar=''ARABIC hijrah'''
          )      AS h_date
FROM    dual;Output:
H_DATE                                                                         
1433/11/02                                                                      I tried it on Oracle versions
9.2.0.6.0
10.1.0.2.0
10.2.0.3.0
11.1.0.6.0
11.2.0.1.0
and got the same results every time. What version of Oracle are you using? What other software (front end, OS, ...)?
If it's consistently giving you the results for the day after the day wanted, then subtract 1 day before calling TO_CHAR. I know this is not a solution, just a work-around until you find and fix the real problem.

Similar Messages

  • What is the differences between the older version of Oracle Financials and the 11 i

    What is the differences between the older version of Oracle Financials and 11i?

    Vijay,Thanks for your answer,but I am still not clear about it,I have a instance to describe my question at detail.
        If there is a final product A, and the planning strategy for A is 20(MTO), the procurement type of A is F(external procurement) at the view mrp2 in the material master datas.
    step1: I creat a sales order.
    step2: run MRP for A.
    step3: transfer the purchase requistion into a purchase order,and the field of acc.***.cat. in the purchase order will be filled out M automatically, because the acc.***.cat. in the planning strategy 20(MTO) is set with E.
        Well, the purchase order is created, what is the relationship between the sales order and the purchase order? What will be happened about costing between the SO and the PO?
        If I delete the E, I make the PO become a standard PO, what is difference between standard PO and the PO including E?
    Best Regards
    Bob

  • Difference between instant client and full oracle client

    Everyone,
    I had read the below lines from a goldengate pdf. Someone please explain me what is the difference between instant client and full oracle client?
    What is the use of XDK libraries.?
    " The full Oracle client must be used with GoldenGate so that the GoldenGate programs
    have access to the Oracle XDK libraries. Do not use Oracle Instant Client, which lacks
    those libraries. You can download the full client from Oracle’s website."
    Regards,
    SAKTHi

    The dealio is this:
    When you install client software, you have several options as to the degree of what you get/install. The big chicken dinner is administrator, so you get all kinds of extra features, add-ons, libraries, utilities, etc. At the hard candy Christmas end is instant client, and that has just enough functionality to, as you may surmise by now, connect a client and that's about it. Various libraries have functionality built in to do whatever extra is required. An example is FAN, or fast application notification, used in Data Guard failover. A FAN API (Java) will detect a failover and re-direct a client connection to the new primary. What GG uses XDK for (specifically) isn't of importance to a user, just the fact that it is available for connecting to Oracle is.

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • What are all difference between 11g Mediator and 10g Oracle service bus.

    hi all ,
    Apart from SCA concept , storing location
    is thr any other difference between 11g Mediator and 10g Oracle service bus ?
    thx in advance..

    11g introduces the SCA architecture for building the service infrastructure.
    SOA 11g uses:-
    1. Uses the weblogic Server and BEA Aqualogic Service Bus (ALSB) for the Oracle Service Bus.
    2. BPEL uses scalable DOM with reduced memory usage.
    3. New adapters and leverage for Java 2 Connector Architecture (J2CA)
    4. BAM finally ported from .Net to J2EE and is part of the service infrastructure
    5. Oracle Web Services Management built into SOA 11g service infrastructure
    6. New adapters and leverage for Java 2 Connector Architecture (J2CA). Tighter integration with E-Business Suite & large payload support.
    7. Business Rules in SOA 10g business rules are managed using the Rules Author & in SOA 11g business rules are managed using JDeveloper and SOA composer

  • Difference between validation and susbstittution with tcodes

    hi all can any body tell me about difference between validation and susbstittution with tcodes
    regars
    sravya

    Hi,
    Settting up the FI Validations
    You can use additional validation to supplement the existing SAP logic to fit you into your businness needs.
    For e.g. to allow postings from company code 0001 to business area AA only.
    GGB0 - To maintain the validations
    Validation - Enter a validation name e.g. VBUS
    Applicaion Area - SAP module e.g. FI
    Calling Point - Dependent upon the application area that is selected.
    0001 - Document Header - validate enteries at document header, e.g BKPF table
    0002 - Line Items - check line item entris within a document, e.g. BSEG table
    0003 - Complete Document - check settings for the whole documents.
    e.g. Validation step 001
    Allowed company code '0001' to post to business area AA only. 'FI00' checks that line item is from FI.
    If checks failed, the error message number 14 is displayed to stop the transaction.
    Prerequisite
    <BSEG> $BUKRS = '0001' AND
    <BKPF> $GLVOR = 'FI00'
    Check
    <BSEG> $GSBER = 'AA'
    Message
    Type E No. 14 - Business Area not allowed for company 0001
    Output fields 1 - BSEG - GSBER 2 - BSEG - BUKRS
    3 - 4
    OB28 - Define Validations for Posting
    CC CallPnt Validation Description Activtn Level
    0001 2 VBUS Business Area Validation 1
    Activtn Level - 0 - Not Active 1 - Activated 2 - Activated for all except batch input
    GGB4 - Manage the activation of all validations in the SAP system.
    Validations, Substitutions, and Rules
    Purpose
    With the validations and substitutions software, you can validate and/or substitute data at the time of entry in the FI-SL System and other SAP Systems.
    Implementation Considerations
    You do not need to change the standard system to customize your validations and substitutions. For each installation, you can define exactly which validations and substitutions are necessary to ensure the integrity of your data.
    Features
    Validation
    In the SAP System, almost all input values are validated by a program or against tables or master files. Since some types of validations cannot be standardized, you can use FI-SL's validations program to create validations for your system.
    With validations, you can check values and combinations of values as they are being entered in the SAP environment. Validation rules are stored in the Rule Manager; as data is entered, the Integration Manager validates the data against the validation rules stored in the Rule Manager. Because data is validated before it is posted, only valid information enters the FI-SL System.
    You define validation rules using Boolean logic. When you define a validation rule, the system checks the validation rule to ensure that it is syntactically correct.
    You can also define the result of breaking the validation rule. For instance, you can specify that a message is issued but the user can continue processing. You can also force the user to correct the error before processing can continue.
    For more information, see Validation or What Are Validations?. For more information on using validations, see Creating a Validation. For more information on Boolean Logic, see Introduction to Boolean Logic.
    Substitution
    Substitution rules are stored in the Rule Manager. When data is entered in the system, it is substituted by the Integration Manager. The Integration Manager calls the Rule Manager. Substitution occurs before the data is posted to the FI-SL databases.
    You define substitution rules using Boolean logic. When you define a substitution rule, the system checks the substitution rule to ensure that it is syntactically correct.
    For more information, see Substitution or What Are Substitutions?. For more information on using substitutions, see Creating a Substitution. For more information on Boolean Logic, see Introduction to Boolean Logic.
    Rules
    A rule is a Boolean expression that you can use as a condition, as a check, or in another rule. Rules enable you to refer to frequently used Boolean statements simply by specifying the rule name.
    The FI-SL Integration Manager uses Boolean logic. When you use Boolean logic and syntax, you can:
    Validate data
    Substitute data
    Select ledgers for posting
    Transfer substitution data to a rollup ledger
    Select report data
    The Rule Manager stores the Boolean rules used to analyze data. The Integration Manager calls the Rule Manager and determines whether entered data should be used. If a Boolean statement is true, an action is taken; if a statement is false, no action is taken.
    Boolean logic is used in the following FI-SL modules:
    Validation
    Substitution
    Ledger selection
    Report Writer
    Rollups
    To use Boolean Logic in one of the functions listed, you create statements that are used as formulas in the FI-SL System. For more information on using Boolean Logic, see Introduction to Boolean Logic or Boolean Logic Statements and Rules.

  • Difference between IDOC segments starting with E1 and E2

    Hi all,
    What is the difference between IDOC segments starting with E1 and E2
    Thanks

    Hi Kajol,
    A segment in SAP system is technically implemented as three physically separate pieces.
    1. Segment type u2013 the version-independent name of the segment. Standard SAP names begin with E1.
    2. Segment definition u2013 contains the fields which represent the data. Its maximum size is 1000 bytes. Standard SAP definitions start with E2 with the last 3 characters implying the version of the segment.
    3. Segment documentation u2013 represents the data dictionary documentation for each field in the segment definition. It begins with E3 for SAP provided segments.
    For example, E1EDP01 will be your segment type and E2EDP01003 will be your segment definition with 003 indicating its version.By default, the segment type points to the latest segment definition.
    Kindly do reward points if you find this as useful.
    Regards,
    Aswin

  • What are the differences between the following terms in Oracle database?

    What are the differences between the following terms in Oracle database?
    Services
    Applications
    Modules
    Actions
    Thanks

    junez wrote:
    What are the differences between the following terms in Oracle database?
    Services
    Applications
    Modules
    Actions
    ThanksIt seems that you are posting alot of such questions, here is one thread of the same nature.
    What are the differences between the following Oracle database views?
    Please search in the oracle docs to find the information and if you have read it already, please post your doubts about it. It would help you in a better way to understand things and also would make you corrected where you would be wrong.
    HTH
    Aman....

  • Terminology differences between MSSQL 2005/2008 and Oracle 11g

    I'm looking for some articles/books/webinars/blogs which discuss the terminology differences between MSSQL 2005/2008 and Oracle 11g in terms of database concepts. I have found this article http://www.sqlservercentral.com/articles/SQL+Server/67007 so far.
    Thanks.

    Thanks sb92075. Those returned results are almost all related to compare the features/functionalities between MSSQL and Oracle not to distinguish the terminology differences between them.

  • DIFFERENCE BETWEEN REAL ORDER AND STATISTICAL ORDER

    Dear gurus,
    What is the main Difference between Real Orders and Statistical order?
    Thanks in advances.
          Babu.

    Hello,
    Note: Please search the forum before posting a new thread.
    The following link may be useful.
    Re: Statistical & Real Posting
    Regards,
    Ravi

  • What is the difference between Aggregation and Composition with example

    plz help me to find the difference between Aggregation and Composition with example

    Dear [email protected]:
    Get back to work.
    August 4, 2007 stalin_gnana asked:
    I would like to know the description about 'is a' ,'has a' ..relationship in java.plz reply me to the above doubt if known
    August 8:
    Can any one encounter the clarification on how and where Observer class and Observable interface can be applied..plz answer me
    August 10:
    May you find a solution on why not have the concept of pointer,opterator overloading,virtual function and destructor in java
    (Also August 10):
    I would desire to apprehend the brief description about usage of Singletone class and where it can be applied.plz help me
    Today:
    I am having the doubt of 'is there any relation among Delegation and composition'.if have,plz answer to regarding question.
    And then this thread today too.
    sniff sniff
    I smell a lazy attempt at getting others to do one's homework for him.

  • PRICE DIFFERENCE BETWEEN IPAD MINI & IPAD WITH RETINA DISPLAY

    Hi,
    Can anyone tell what are the most important causes of price difference between ipad mini & ipad with retina display?

    Read the specifications...there is no "most important cause").
    Barry

  • What is the difference between OCIEnvCreate and OCIEnvNlsCreate with utf16

    because i find a oci sample code cdemouni.c,in this sample,use OCIEnvCreate with mode set OCI_UTF16,but OCIEnvNlsCreate also can set charset and ncharset OCI_UTF16ID,what is the difference between OCIEnvCreate and OCIEnvNlsCreate with UTF16?

    First, OCIEnvNlsCreate() is recommended way of switching to UTF-16 mode.
    Second, OCIEnvNlsCreate() uses new semantics for bind and define buffer lengths. With new semantics all lengths are in bytes. With old semantics,
    UTF-16 string lengths are in codepoints, while other character sets use bytes.
    You can get new length semantics with OCIEnvCreate() as well, by
    adding OCI_NEW_LENGTH_SEMANTICS to the 'mode' flags.
    -- Sergiusz

  • Difference between Real User Experience Insight and Webalizer?

    Dear All,
    Can u tell me that is there any difference between Real User Experience Insight and Webalizer?
    If both are functioning almost same then why RUEI is expensive
    Please must reply

    Webalizer uses Web Server logs however RUEI does not use web server logs it monitors Network Traffic without interfering in application which does not affect application performance...
    For using Webalizer Application code is modified but not in the case of RUEI
    The most important one is that Webalizer does not provide Sufficient and Efficient information as does the RUEI because it can replay the whole session called FULL SESSION REPLAY, Which helps finding errrors on specific pages. Also helps finding delays in transactions.
    RUEI is deployed either by copy port or Tapping which create duplicate copy of each request to web server and pass it to RUEI for Analysis
    Regards
    Ali Asadullah

  • What is the difference between READ TABLE ITAB WITH KEY  and  TABLE KEY

    Hi Experts,
    what is the difference between
    READ TABLE <ITAB> WITH KEY <K1> = <C1>
                                                    <Kn> = <Cn> .
    and 
    READ TABLE <ITAB> WITH TABLE KEY <K1> = <C1>
                                                              <Kn> = <Cn> .
    Thanks
    Akash.

    Hi akashdeep,
    Nice question. I also tried to find out, but no much success. My opinion is that for practical purposes there is no difference.
    It may have difference in case of searching, especially sorted tables. (binary search or normal linear search).
    Case1: If our table is sorted table with defined key fields, and we give WITH TABLE KEY, then faster binary search is used.
    Case2 : If our table is sorted table with defined key fields, and we give WITH  KEY, (and no field contained in the keys), then normal linear search is used.
    regards,
    amit m.

Maybe you are looking for

  • Ipad 2 is associating with mobile phone # instead of it's own #

    Hi I recently update to iOS 6.1 on my iPad and when it was all finished with the update i was distracted when it asked me about my phone # for facetime and messaging and i just hit ok then later I realized it pulled my mobile phone # into it instead

  • 'other driver and xa connection properties

    A connection pool is configured through the admin server with a third party driver (specify other for database type). The driver is only on the classpath

  • How to fix graphic freeze while playing minecraft?

    Hi My computer freezes every time I try playing minecraft. It works for the first 30/40min, but crashes more and more frequently after this (every 2/3 min for longer and longer periods of time!). If I stop playing for an hour or two, for some reason

  • Creating a File Adapter in XI 3.0

    Hi I want to use the File adapter in XI 3.0 to generate a file on my server. Is there any detailed!!! step by step guide where I can read about this? I have created a business service, a communication channel, interface determination and a receiver d

  • ANIMATION SOFTWARE  simple and easy to use

    Didn't know where to post this, so... Does anyone know of a SIMPLE and EASY animation program that I teach my kids to use? I have a budding artist and would like to move those creative juices from pen and paper to the computer. Thanx