INCORRECT DATE FORMAT

Hello everybody,
I encounter the below mentioned error:
SQLLoader: Release 9.2.0.1.0 - Production on Sat Jun 13 12:26:50 2009
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
ORA-01821: date format not recognized
The control file is as follows:
LOAD DATA
INFILE *
INTO TABLE temp_sqlldr_test INSERT FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
*(SDC CHAR, CREATED_DATE date "to_date(:CREATED_DATE, 'dd/mm/yy hh:mi:ss')")*
begindata
*4066684340,"20/05/2006 04:18:36"*
*4066684341,"20/05/2006 04:18:36"*
*4066731692,"20/05/2006 04:20:45"*
*4066750021,"20/05/2006 04:22:03"*
Can anyone tell me why the error is occuring ?
regards,
rossY_roCs

can you please elaborate on this..
As I am able to insert in both ways
I have no settings for NLS_DATE_FORMAT on os level
neither on database level
]$ echo $NLS_DATE_FORMAT
]$
NAME                    TYPE     VALUE
nls_calendar               string
nls_comp               string
nls_currency               string
nls_date_format           string
nls_date_language          string
nls_dual_currency          string
nls_iso_currency          string
nls_language               string     AMERICAN
nls_length_semantics          string     BYTE
nls_nchar_conv_excp          string     FALSE
nls_numeric_characters          string
nls_sort               string
nls_territory               string     AMERICA
nls_time_format           string
nls_time_tz_format          string
nls_timestamp_format          string
nls_timestamp_tz_format      string
both ways works
1)CREATED_DATE "to_date(:CREATED_DATE, 'dd/mm/yyyy hh24:mi:ss')"
2)CREATED_DATE date "dd/mm/yyyy hh24:mi:ss"
Please update

Similar Messages

  • Incorrect date format in excel reports

    Hi,
    Some Activity exported from Activity overview to excel have wrong date format. For example
    Some have 21/04/2008 u2013 Correct
    Some have 13/04/09 u2013 Incorrect
    All the dateu2019s in the database seems to be correct like '2008-04-13 00:00:00.000'.
    Client is using SAP B1 2005 SP01 PL-48. Is there any know issue?
    I tried the same in B1 2007 upgrading the database. All the date seems to be correct when I export it here.
    What may be the reason?
    Any suggestions will be appreciated.
    Regards,
    Mohan

    Hi Gordon,
    It took some time for me to verify in the client machine.
    I have changed the date format in both Business One and in the regional settings to DD/MM/YY. It seems to be ok however the appearances of date column in excel seems to be uneven.
    04/10/09
    04/11/09
           13/04/09
           14/04/09
           19/04/09
    (Ignore the *)
    I think, the problematic dates seem to be exported to excel in the paste special text format.
    Any Idea why this is happening?
    Regards,
    Mohan
    Edited by: Mohanakrishnan T on May 5, 2009 1:09 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:10 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM

  • En-CA Language has incorrect Date Format in SSRS report

    When I set the Language on a Report to "en-CA", then dates are formatted as dd/mm/yyyy.
    This differs from the OS default format of yyyy-mm-dd for en-CA.
    Is there any way to tweak the date format for a specific Language in SSRS?
    Please don't say I need to add Format() calls to all of the dates in the reports...  What I want to do is just give SSRS the correct date format for "en-CA" and let it do the work of formatting automatically.
    [url=http://www.spritehand.com]www.spritehand.com[/url] | [url=http://www.andybeaulieu.com]www.andybeaulieu.com[/url]

    Hi Andy,
    In Reporting Services, by default, formats for date are determined by the report server language at run time. The report server language is the language of the operating system on which the report server is installed. This language is determined by the regional
    settings of the computer.
    Generally, the report server language supports for all ten of the SQL Server languages. But the en-CA language is not supported by SQL Server. In this way, the report server uses the mostly closely matched language of the operating system as the language.
    For example, the operating system is Canada English. Because Canada English and U.S. English are in the same language family, it chooses the SQL Server language resource that most closely matches Canada English (in this case U.S. English). So the date format
    uses en-US format.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms156493.aspx
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problem  with BC4J in 10g: incorrect Date formatting

    I have PL/SQL procedure, which is called from bc4j-struts-application like this:
    CallableStatement cs = getDBTransaction().createCallableStatement(FIND_USER_RESP_STMT,0);
    cs.execute();
    It return an exeption with this message:
    ORA-01403: no data found
    ORA-06512: at "CRN.CRN_UTIL", line 115
    ORA-06512: at "CRN.CRN_UTIL", line 323
    ORA-06512: at "CRN.CRN_RESPONSIBILITY", line 85
    ORA-01843: not a valid month
    ORA-06512: at line 1
    I don't send any data parameter for this procedure. When I try to call it from JDeveloper connections debug, it runs succesfully. I try to create bc4j entity to query:
    select to_char(sysdate, 'DD-MON-YYYY') X,
    to_char(sysdate, 'DD-MM-YYYY') Y from dual
    and it retrieves:
    27-¿¿¿-2004
    27-09-2004
    Date constant is used in PL/SQL procedure with format 'DD-MON_YYYY', but I can't change it, because it used by many other applications.
    My local setting is english, USA, and I have the second language on my PC - russian.
    JDeveloper 9.0.5.2. This code runs succesfully in JDeveloper 9.0.3.3.
    How can I send bc4j date setting in normal format to solve this problem? And where can I find bc4j local settings, which are sended by bc4j to server?
    Regards, Nikolay

    Hello,
    The problem is still available. Could anybody help?
    Regard

  • Incorrect date format on report instance

    Hi,
    I have a problem (well a question) relating the the instance detail information behind a report instance in BusinessObjects Enterprise XI3.1 SP2 FP2.5. On one of my servers I can view the history of a report thorough InfoView and then select the link in the 'Status' colum. This displays the 'Instance details' page. On this page the 'Creation Time', 'Expiry', etc. are shown in the format dd/mm/yy hh:mm:ss. But, on my other server the same page shows these records as 'mm/dd/yy hh:mm:ss'.
    I suspect that there is a server setting to be made somewhere, but where?
    Any ideas please?
    Mike

    Hello,
    Found it. I run my SIA under a service account and not a user account. This service account was using the wrong Regional settings. When changed to the correct Regional settings the reports showed the dates in the correct format.
    Thanks for looking.
    Mike

  • Incorrect date format in Crystal Report XI

    I have a problem with date in reports if Day in date (yyyy/mm/dd) less than 12.
    Problem is:
    I create a report (through application). If I check the instance of the report created on Crystal Server (in Central Management Console) it's correct. If I try to download (open or save) this report to workstation (through application) Day and month changed places and date become incorrect.
    Any attempts to play with regional settings in workstation did not help.
    What is the problem here and how I can resolve the issue?
    Any advices will be appreciated.

    Hi,
    Ok, here a link for an update maybe it helps
    [Click here|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    Regards,
    Clint

  • Export to excel issue - date format cannot be displayed properly

    Dear all,
    When we do a export to excel, if it has date format, we always have problem on displaying it in excel. Some of the date if we change the data format, it will be changed to the correct way. Others will remain the old data format. Any idea?
    I've checked the SAP note. It doesn't work. Thank you in advance.
    Regards,
    Yuka
    SAP Note:
    Click the Excel symbol in the task bar in Business One
    Save the file as ".txt"
    Open Excel and open the file as a ".txt" (Select in "Files of type" All Files (,))
    In the Text Import Wizard Select "Delimited" and for "Start import at row" 1.
    Click "Next"
    In the Text Import Wizard - Step 2, select 'tab' in "Delimiters", for "Text qualifier:" choose ""
    Click "Next"
    In the Text Import Wizard - Step 3, highlight the Date column and in "Column data format" check the radio button Date in the drop down menu beside Date you can set the date format you require
    Click "Finish"

    Dear Yuka,
    You may check this thread:
    Re: Incorrect date format in excel reports
    Thanks,
    Gordon

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

  • Refer to Doc ID 825030 which talks about applying of patch for correction of date format in web adi. Is this patch can be applied on R12.1.3 instance as this patch released date is very old. Please suggest if there is another patch which be applied to cor

    Refer to Doc ID 825030 which talks about applying of patch for correction of date format in web adi. Is this patch can be applied on R12.1.3 instance as this patch released date is very old. Please suggest if there is another patch which be applied to correct the date format in web adi. currently the date is coming in number format.

    Hello,
    This document is for 11i Date Format Changes When Loaded Into Webadi (Doc ID 825030.1)
    use this document instead for R12 : Incorrect Date Format in Excel Sheet Generated Via WebADI (Doc ID 828253.1)
    <Moderator Edit - deleted MOS Doc content - pl do NOT post such content>
    Best Regards,
    Eric.

  • Date format in table

    incorrect date format saved thru transaction spro>General settings>Currencies>Enter Exchange rates. date format entered is 98.98.9898 now the system wont allow you to maintain exchange rates without specifying correct date format for the entries. in tables TCURR i cannot get the entries as they are stored in nines compliment. how then can i delete the entries with abap script??

    Hi,
    use delete statement on TCURR table.
    ex:
    delete from TCURR where KURST = <your exchange rate type>.
    commit work.
    Reward points for helpful answers,
    Satish
    Message was edited by:
            Satish Panakala

  • Date format becomes incorrect when you run check option on portal

    Hi,
    We have a report which has Date variable in selection screen. When we enter selection as interval and then when we click on Check option before executing the report, the date format becomes garbage.
    Here is an example:
    This is what I enter in Date variable :
    Date : 01/01/2001-01/01/2010
    After that when I click on CHECK option, the system automatically converts the first date into garbage value i.e. 01/01/2001 will be converted to 1//20/01/0
    This only happens when we run report in Portal 7.0 When we try to run similar report using default web template of BW 3.5, it works fine.
    Has anybody faced similar problem ? We are on Portal Java SP13 with Patch 6.
    Thanks,
    Parin Gandhi.

    Thanks Frank for a quick reply.
    I have used the SimpleDateFormat for formatting with the pattern as, "MM/dd/yyyy" and it is working fine if user enters 4 digit year.
    However, for a entry with 2 digits for a year e.g. 04/10/07 when i parse the date using SimpleDateFormat,it is giving me date as 04/10/0007.
    Is there a way by means of which i could force the user to enter 4 digits for the year?
    I have tried using dateStyle attribute of <af:convertDateTime> tag with 'shortish' as its value, it converts a 2 digit year into 4digit on the browser side & displays on the screen e.g. if user enters 04/10/07 it will appear as 04/10/2007 on the screen however, in value change listener method, i could see date as 04/10/0007.
    Any help in this regard is highly appreciated.
    Thanks in advance,
    Shriniwas

  • Problem with Date formatting

    Hi Tim,
    I am facing some issues with formatting the date using XMLP. The following is the sample XML data file i am using:
    <LIST_G_HEADER>
    <G_HEADER>
    <QUOTE_HEADER_ID>1455</QUOTE_HEADER_ID>
    <QUOTE_NUMBER>2027</QUOTE_NUMBER>
    <QUOTE_VERSION>1</QUOTE_VERSION>
    <QUOTE_NAME>Test GM Report - Rabindra</QUOTE_NAME>
    <SOURCE_NAME>Fletcher, MR. Paul</SOURCE_NAME>
    <QUOTE_DATE>27-OCT-2005</QUOTE_DATE>
    <CURRENCY_CODE>GBP</CURRENCY_CODE>
    </G_HEADER>
    </LIST_G_HEADER>
    The formatting i use for my date field i.e <QUOTE_DATE>, ends up either with NO formatting or giving me an error "[010906_114656657][][ERROR] Invalid XSD string: 27-OCT-2005 (XMLP Template Viewer)". The default formatting available with the form field dialog box (MS-Word) feature also doesn't work.
    I have the following formatting for this field in the form field:
    <?format-date:QUOTE_DATE; 'MEDIUM' ?>
    When i read the user guide, it reads that the date should be in the canonical format i.e: YYY-MM-DDThh:mm:ss+HH:MM
    However i am not getting the date from the base table's in this format. Is the error happening due to incorrect format or is there some other reason behind this? Please let me know, how can i overcome this issue.
    Thx,
    Nitin

    As i mentioned in another thread
    substring function and date format
    Please use this standards
    <?xdofx:expression?>
    for extended SQL functions or
    <?xdoxslt:expression?>
    for extended XSL functions.
    Use like
    <?xdofx:rpad(LAST_NAME),30, ’x’)?>
    <?xdofx:Instr(’abcabcabc’,’a’,2))?>
    <?xdofx:upper(char)?>
    <?xdofx:lower (char)?>
    <?xdofx:greatest ( expr [, expr]... )?>
    ETC.....

  • How can I change the date format in Reminders and in Notes?

    How can I change the date format in both Notes and Reminders? Preference on Imac and Settings in IOS do not allow me to change the format in those 2 apps.
    I Like to see 10oct rather than 10/10, as an example.

    pierre
    I do not have Mavericks or iOS - but the first thing I would do is reset the defaults - I'll use Mavericks as an example
    From If the wrong date or time is displayed in some apps on your Mac - Apple Support
    OS X Yosemite and Mavericks
        Open System Preferences.
        From the View menu, choose Language & Region.
        Click the Advanced button.
        Click the Dates tab.
        Click the Restore Defaults button.
        Click the Times tab.
        Click the Restore Defaults button.
        Click OK.
        Quit the app where you were seeing incorrect dates or times displayed.
        Open the app again, and verify that the dates and times are now displayed correctly.
    Then customize to taste - OS X Mavericks: Customize formats to display dates, times, and more
    OS X Mavericks: Customize formats to display dates, times, and more
    Change the language and formats used to display dates, times, numbers, and currencies in Finder windows, Mail, and other apps. For example, if the region for your Mac is set to United States, but the format language is set to French, then dates in Finder windows and email messages appear in French.
        Choose Apple menu > System Preferences, then click Language & Region.
        Choose a geographic region from the Region pop-up menu, to use the region’s date, time, number, and currency formats.
        To customize the formats or change the language used to display them, click Advanced, then set options.
        In the General pane, you can choose the language to use for showing dates, times, and numbers, and set formats for numbers, currency, and measurements.
        In the Dates and Times panes, you can type in the Short, Medium, Long, and Full fields, and rearrange or delete elements. You can also drag new elements, such as Quarter or Milliseconds, into the fields.
        When you’re done customizing formats, click OK.
        The region name in Language & Region preferences now includes “Custom” to indicate you customized formats.
    To undo all of your changes for a region, choose the region again from the Region pop-up menu. To undo your changes only to advanced options, click Advanced, click the pane where you want to undo your changes, then click Restore Defaults.
    To change how time is shown in the menu bar, select the “Time format” checkbox in Language & Region preferences, or select the option in Date & Time preferences.
    Here's the result AppleScript i use to grab the " 'Short Date' ' + ' 'Short Time' "  to paste into download filenames - works good until I try to post it here - the colon " : " is a no-no but is fine in the Finder
    Looks like iOS Settings are a bit less robust
    - Date/Time formats are displayed according to 'tradition' of your region > http://help.apple.com/ipad/8/#/iPad245ed123
    buenos tardes
    ÇÇÇ

  • Unable to stop incorrect date exports

    How do we set up a form in Adobe Acrobat XI that allows dates to be formatted a certain way (mmm/dd/yyyy) and exported in the same way to Excel and always be recognized as a "proper" date in Excel?
    Currently the following does not work (Attempt #1):
    Set up a field; Set the format category as date; Set up a Custom format of "mmm/dd/yyyy"
    Create a distribution file
    When users fill out the form if they type in an incorrect date, eg., "August 27 2013", the form automagically shows the date on the PDF as "Aug/27/13" - Great!
    When the users submit the form and it's brought into the response file the dates are shown in a default date format of mm/dd/yyyy - Fine, once the form owners understand this
    When the form owners export the information the data exported is the same as the original users entered it, not as it was automagically formatted to. For instance, if submitters originally entered "August 27, 2013" then that's what goes across to Excel. And some of these formats Excel doesn't know how to convert. - Understandably frustrating for form owners
    Attempt #2: As a workaround we set up special formatting that has a mask of "AAA/99/9999". This at least provides forces the users to use the same formatting, but is confusing the submitters when they need to enter dates from 1-9 and we've also found that the conversion of this format to a date in Excel doesn't work, but at least it's consistent! Javascript was also added to force users to use specific month abbreviations.
    d = new Date(event.value.replace(/-/g, " "));
    if (!Date.parse(d)){app.alert("Please enter in a proper date.\n\nThe month abbreviations are: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec");}
    Attempt #3: The last attempt was to continue to use the set up as Attempt #1, but to also use the javascript from Attempt #2. The theory being that if a user entered in "August 27 2013" the javascript would complain. Alas, the javascript appears to run after Adobe automagically does its date format conversion.
    Does anyone know how to get around this or have any other ideas to either enforce a usable date format or have Adobe export the dates as they've been automatically formatted to? We've tried to find a way to turn off the automatic date conversion that Adobe's running, but haven't found a way yet. Another option seemed to be to allow a masking that allowed for optional characters (so that the "0" wouldn't be needed for the dates 1-9) but there doesn't seem to be one.
    Thanks in advance!

    Since there was no clear way to ensure that the date formatting was correct prior to exporting, we're going to get the respondants to use drop downs to ensure the formatting is correct. Not the most convenient for the users though as they're accustomed to being able to type in the values to select it (e.g., for the date of 23 they would expect to enter 2 then 3 for 23) based on other applications, but the Adobe pull downs don't "group" what's been entered (e.g., 2 then 3 will select 30, not 23) and so it will take them a bit to get used to it. I still can't believe that Adobe wouldn't simply export what it's been formatted to though... after all that's what we set the form up for.

  • Date Format in calculations

    Hi all,
    we are currently upgrading our discoverer from version 3.1.25 to version 10.2.0.1.0.
    we have an old report that had been created with the old version and saved on the computer (not in the database) with a date calculation on a date parameter as follows: <table_name>.<date_field> - :DATEPARAMETER (the date format of the two dates values is DD/MM/YYYY).
    This calculation works fine on the old discoverer version when we run it, but when we try to run the report on the new discoverer desktop version (10.2.0.1.0) we get an error that the parameter is incorrect.
    the thing is that if i convert the date format manually using the to_date function on the parameter, it works fine.
    My question is what is the default date format for the calculations, and how can i set it myself?
    i already added the NLS_DATE_FORMAT key in the registry under HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE, but it doesn't work, it changes the date format of the date fields that are presented in the table after a report execution.
    In addition, if we save the report to the database using the desktop version and try to run the report on discoverer plus, we get the same error and need to perform the same solution (convert the parameter manually with to_date).

    mac-a-rooney wrote:
    I am working with dates.
    1st I want to calculate a time span for example calculate cell A2 - cell A1. In cell A1 it is written 01.01.2010 (so first of January) and in cell A2 01.02.2010 (so first of February). I wrote the dates in letters, too, to avoid misunderstandings due to different national date formats.
    Since January has 31 days, the obvious result thereof is "31D". So far so good.
    but now I want to multiply the 31 with a numeric value, but not the 31D, because if I do so, and let's say the numeric value is 3, then my result is 93 DAYS rather than just 93.
    Are you sure you're asking in the right forum?
    Using Numbers '08, with the following entries:
    B2: Jan 1, 2010
    C2: Feb 1,2010
    D2: =C2-B2
    E2: =3*D2
    I get 31 (not 31D) in D2 and 93 (not 93 DAYS) in D2.
    From your description, I think you're actually using Numbers '09, and Jerry's advice above applies.
    Regards,
    Barry

Maybe you are looking for

  • My ipod 1st gen wont charge or sync with itunes via my laptop

    i tried to reboot it or something by holding down the home and on/off button simutaenesley and a really faint battery icon with red low battery showed up, now whenever i try to reboot it again nothing happens. What is wong?

  • Scripting file copy to windows server

    Hi all, We need the ability to copy files from the Mac G5's running 10.4.x to a windows based server (2003) across our LAN. Looked at scripting Terminal but it does not seem to support apple script the way I would like - ie copy /file to //server. Th

  • Updation of table MSLBH

    Please let me know when table MSLBH get updated. In which table can we see stock with subcontractor for a past period. Regards, Begum

  • Cisco jabber can't login

    hello I configure new user for jabber . when I tried to login and the got errors: " Invalid Username/Password " in  presence server I see that user is unasigned . any idea?

  • I hate thieves

    Some person has stolen my Ipod. I'm wondering, is there anything that Apple can do in order to get my Ipod back, or could they get me a new one?? I bought my Ipod at the end of last year, so I haven't had it for an entire year yet, so is there any he