Wrong date format when import CSV files

When you import a CSV file that contains fields with German date formats, these fields are displayed incorrectly.
Example: Contents of the CSV file "01.01.14". After importing the corresponding cell in Numbers has the content "40178".
A reformat the cell to a date format is not possible.
How do I get the date in the new version of Numbers displayed correctly?

It seems that there are more than a few problems related to import/export with non-US localizations.
I, personally, don't have a solution to your problem. I started to adjust my Language & Region settings to test your problem but it was several settings, I didn't get it right, and I didn't want to mess up my computer so I set everything back to US/English.
The only workarounds I can suggest are
Insert a new column into your table and in it put a formula that adds the number to the date 01.01.1904.  Or,
Edit the CSV in TextEdit to Replace All "." with "/".  This will work if "." is used for nothing else but these dates.
I recommend the second one if it will work for you. Hopefully Apple is addressing problems such as the one you are seeing.

Similar Messages

  • Possible to change date format when importing files into Aperture 3

    Just wondering if it is possible to change the format of the date from YYYY-MM-DD to YYYYMMDD when you rename files as they are imported into Aperture 3? I typically rename my files and insert my initials, date the photo was taken, sequence number, camera used and original file name. When I do this in Aperture 3, the date format used includes dashes. I would like to have the file renamed without the dashes in the date. Is this possible?

    You should be able to edit the format in the import presets. I have done this for folder stucture of imports, I believe you can do the same for the file renaming. At the bottom of the drop down box for file naming at improt should be an edit option which brings up the import naming presets, select the "YYYY-MM-DD" and remove the dashes.
    Matt

  • ORA-01722: Invalid number when importing .csv file

    Hi,
    I did not find any information regarding my specific problem until now.
    I try to import a *.csv file containing id, double, double, double, double, double (e.g. as a sample line "id_1, 674,6703459157907, 4212,205538937771, 674,6703459158016, 5561,546230769363, 2714,6367797576822") into a table with the following definition:
    CREATE TABLE "foo"."BUILDING_SURFACES"
    (     "ID" VARCHAR2(40 BYTE),
         "AREA1" BINARY_DOUBLE DEFAULT 0,
         "AREA2" BINARY_DOUBLE DEFAULT 0,
         "AREA3" BINARY_DOUBLE DEFAULT 0,
         "AREA4" BINARY_DOUBLE DEFAULT 0,
         "AREA5" BINARY_DOUBLE DEFAULT 0
    ) SEGMENT CREATION IMMEDIATE
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
    TABLESPACE "USERS" ;
    I am doing it with the help of the importer tool in the SQLDeveloper, by doing a right-click onto the table and selecting import data. In the assistant everything seem to be fine, even the data preview.
    But when I try to import, I get an error: "ORA-01722: Invalid number" and a couple of failure windows appear. These windows display a NullPointerException:
    java.lang.NullPointerException
         at oracle.dbtools.raptor.data.writers.DataTypeFormatterRegistry.getFormattor(DataTypeFormatterRegistry.java:42)
         at oracle.dbtools.raptor.data.writers.ImportGenerator.getBatchForInsert(ImportGenerator.java:1837)
         at oracle.dbtools.raptor.data.writers.ImportGenerator.access$1800(ImportGenerator.java:84)
         at oracle.dbtools.raptor.data.writers.ImportGenerator$1.afterLoopProcessing(ImportGenerator.java:1125)
         at oracle.dbtools.raptor.newscriptrunner.ScriptExecutorTask.loopThroughAllStatements(ScriptExecutorTask.java:220)
         at oracle.dbtools.raptor.newscriptrunner.ScriptExecutorTask.doWork(ScriptExecutorTask.java:165)
         at oracle.dbtools.raptor.data.writers.ImportGenerator$1.doWork(ImportGenerator.java:782)
    If I cancel the task, the insert statements are displayed:
    SET DEFINE OFF
    --Einfügen für Zeilen  1  bis  2  nicht erfolgreich
    --ORA-01722: Ungültige Zahl
    --Zeile 1
    INSERT INTO BUILDING_SURFACES (ID, AREA1, AREA2, AREA3, AREA4, AREA5) VALUES ('BLDG_0003000b002ea10f','674.6703459157907','4212.205538937771','674.6703459158016','5561.546230769363','2714.6367797576822');
    --Zeile 2
    As one can see, the numbers are quoted ('). If I delete the quotes by hand, the insert statement works correctly.
    What can I do, so that the import tool does not quote the numbers?
    Deleting the quotes with the help of a regular expression is not workaround, since a lot of error windows appear, which needs to be closed by hand...
    Thanks in advance,
    Richard
    Some infos about my machine:
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 12.10
    Release: 12.10
    Codename: quantal
    $ java -version
    java version "1.6.0_38"
    Java(TM) SE Runtime Environment (build 1.6.0_38-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed mode)
    Oracle SQL Developer 3.2.20.09
    Version 3.2.20.09
    Build MAIN-09.87
    Copyright © 2005, 2012 Oracle. All Rights Reserved. Alle Rechte vorbehalten.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.87

    I solved my problem. :)
    I changed the datatype of the area fields to "NUMBER" and edited my input file in a way, that it is tab separated with "," as decimal sign.
    Richard

  • New address book fields don't appear when importing CSV file

    I've added two new fields to the Address Book template. The new fields appear when manually entering data for a new Card, but not when importing a CSV file. There's a drop down menu of field names for the import process but it does not include the new fields. Is there a way to modify this menu?

    I would suggest looking at the Basic Troubleshooting steps at the following link:
    http://support.apple.com/kb/HT3805
    Specifically, for your Question #1 above, I would suggest the First Aid procedure and running the 'Repair Database' option listed in the linked page.
    Note - I strongly suggest not running the 'Rebuild Database' option unless all other troubleshooting steps have been exhausted. This is also a caution given by Apple.
    For your Question #2, if the repair database does not fix that one, then lower on the linked page you will find the procedure for 'Delete the user preferences' which has sorted the issue for me in the past. FWIW, I suspect that the OS X indexing (possibly for Spotlight) may have something to do with this issue.
    As I think you suspect, you should be able to see the photos specific to each Project when you select it one in the library inspector (whether in the folder or not).
    Note - the behavior of seeing all photos from all projects in a folder is correct.

  • Wrong data type when writing XML file

    We are trying to write an XML file from ODI but we get the following error:
    ODI-1217: Fallo de la sesión CMT_PAQ_CREA_XML (15001) con código de retorno 8000.
    ODI-1226: Fallo en el paso WRITE_XML_SCHEMA después de 1 intento(s).
    ODI-1232: Fallo en la ejecución del procedimiento WRITE_XML_SCHEMA.
    ODI-1228: Fallo en la tarea WRITE_XML_SCHEMA (Procedimiento) en el destino XML conexión CMTInCaMo.
    Caused By: java.sql.SQLException: Could not save the file D:\ODI\oracledi\XMLFiles\Cuentas11g.xml because a class java.sql.SQLException occurred and said: java.sql.SQLException: java.sql.SQLException: Wrong data type: type: <b>NUMERIC (2) expected: INTEGER value: 301000000232</b>
         at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.writeToFile(SnpsXmlFile.java:740)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.internalExecute(SnpsXmlConnection.java:713)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatement.executeUpdate(SnpsXmlPreparedStatement.java:111)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:619)
    The datastores have valid records but when we try to write them in the XML file it didn't work.
    ¿Can somebody help us?

    Thanks, let me give you an update:
    The datatype of the element is defined as follows:
              <xs:element name="AcctNo" minOccurs="1" maxOccurs="1">
                   <xs:simpleType>
                        <xs:restriction base="xs:string">
                             <xs:maxLength value="60"></xs:maxLength>
                        </xs:restriction>
                   </xs:simpleType>
              </xs:element>
    The ODI reverse ingeneering has created the column as VARCHAR(255). I think this ok, because XML driver doesn't takes in account the xsd element defined length.
    We have checked the XSD and is valid.
    In the other hand, I must say that we have created an interface that is loading data into the corresponding datastore without any problem but we couldn't generate an XML file from it.
    Any other advice?

  • IPhoto gets the wrong date/time when importing photos

    I just imported a bunch of photos from a Canon Digital Rebel XT. I took the photos today, 10/22/05, but iPhoto has them labelled with yesterday's date. Furthermore, the times are incorrect, with AM and PM apparently switched.
    Looking back now, it seems that there's the same problem with all of the photos I've imported with this camera (which I got last month). I don't know if iPhoto has been screwing these things up the whole time, or if this is something that just happened.
    I've just triple checked the date/time setting on the camera and confirmed that it is correct. I've confirmed that my computer's date & time are correct also. The other data imported with each photo appears to be correct (e.g. camera make & modal, focal length, ISO speed, etc.).
    Anyone have any idea what's going on and how I can fix it?

    Jason,
    Which date are you referring to? The EXIF date that is in the Get info window, or the date that is listed in the left info window. If it is the date that is in the info window on the left it is easy enough to fix. Just highlight and put in the correct date. If you need to do this to a lot of images then use the batch change function.
    If the EXIF data is wrong, I recommend using the software from canon to get the best EXIF data added to your pics. I realize this adds an additional step, but it will fix your problem. The other thing is that if you start to shoot in RAW, your camera is not supported by iPhoto. So if you attempt to import RAW files from the XT directly into iPhoto it will not import them. I have this camera and it is one of the reasons I have stopped using iPhoto for most things.
    You can get the latest versions of the canon software from Canon.com I recommend using these as they are much better than what was in the box that came with my XT. If you plan on working with RAW get the Digital Photo Professional (DDP) Along with the Canons image browser. Both work well on my powerbook and should be great on a Powermac.
    Hope this helps.
    Matt

  • Wrong date format when setting Smart Album

    I've got my date format set to the standard UK settings, eg. DD/MM/YY, but in Aperture when I create a smart folder the date settings are in the US format of MM/DD/YY. Is there anyway I can fix this - I've got System Preferences correctly set to UK formats.

    bilbo_baggins wrote:
    I've got my date format set to the standard UK settings, eg. DD/MM/YY, but in Aperture when I create a smart folder the date settings are in the US format of MM/DD/YY. Is there anyway I can fix this - I've got System Preferences correctly set to UK formats.
    There are folders and there are smart albums but I don't believe there are 'smart folders'.
    If you could describe a bit of what you are doing to would be helpful in trying to answer your question.

  • Wrong date format when creating a universe based on a MS Analysis cube

    Hi,
    When creating a universe based on a MS Analysis 2008 cube the date objects from the cube are created in the universe with CHAR format when it should be DATE format
    I have tried to resolve the issue by modifying the date object in the universe with MDX but with little success.
    I wonder if it is an error in the cube and that it actually should be possible to get the correct date format from the cube when creating the universe automatically in the universe design tool.
    The date object is organised in a hierarchy.
    Any ideas? - both to resolve the issue by using MDX in the universe object properties or in the cube.
    The universe design tool is version 4.0 SP2 patch 5
    /Kim

    Oh I knew I was missing something. Ok version 2.
    I think in general this approach would work. I assumed you are starting from 1 and resetting to 1.
    There should be error handling and so forth that is not here. Probably some details need to be tweaked.
    So the key thing here AFAIK is to put the sequence reset in an autonomous procedure. Exactly how to do that may need to be modified.
    PS this version has a bug. After the reset needs to change the increment of the sequence back to 1.
    and I left that out. oops!
    /* testtrigger */
    /* previously:
    create table mytable (
    myprimary_key number(10) primary key,
    column1 number(2)
    create sequence mysequence
    start with 1
    increment by 1
    maxvalue 99
    nocache;
    create table mylastdate (lastdate date);
    insert into mylastdate(lastdate) values (trunc(sysdate));
    create or replace procedure reset_mysequence (in_correction number) is
    pragma autonomous_transaction;
    begin
    execute immediate 'alter sequence mysequence INCREMENT BY ' || in_correction || ' MINVALUE 1';
    update mylastdate set lastdate = trunc(sysdate);
    commit;
    end;
    show errors;
    create or replace trigger mytrigger
    before insert on mytable for each row
    declare
    tmpdate number(8) := null;
    lastdate_used number(8) := null;
    correction number := null;
    lastseq number(2) := null;
    begin
    if INSERTING then
    tmpdate := to_number(to_char(sysdate,'YYYYMMDD'));
    select to_number(to_char(lastdate,'YYYYMMDD')) into lastdate_used
    from mylastdate;
    select mysequence.currval into lastseq from dual;
    /* when this displays in the forum it shows lt gt as nothing on the screen
    so this should be lastdate not equal to tmpdate */
    if lastdate_used <> tmpdate and lastseq > 1 then
    correction := -(lastseq - 1);
    reset_mysequence(correction);
    end if;
    :new.myprimary_key := (tmpdate * 100) + mysequence.nextval;
    end if;
    end;
    show errors;
    Edited by: lake on Nov 30, 2010 10:39 AM
    Edited by: lake on Nov 30, 2010 10:52 AM

  • Error when importing csv file onto ftp server database

    Hi all, i have a csv fiile that has to be imported to a ftp
    server database. The code works when i am trying out the
    application on localhost, and the data in the file is successfully
    uploaded and sent in the database. however, this becomes an issue
    on when my files are launched on the ftp server.
    I get this following error:
    SQL ERROR:Access denied for user 'istaff'@'%' (using
    password: YES)
    does anyone know what this means?
    I'm attaching my code here, perhaps it might help. Thanks!!

    taywanqi wrote:
    > I get this following error:
    > SQL ERROR:Access denied for user 'istaff'@'%' (using
    password: YES)
    >
    > does anyone know what this means?
    It means access denied...
    > <?php require_once('staffSql.php');
    > ?>
    Check this file, make sure you have the correct username and
    password
    set for your database.
    Dooza

  • Wrong date format by importing event from mail

    When I try to create a new event in ical through a date in mail, it identifies the date in american format (MM/DD/YYYY) instead of the european format (DD/MM/YYYY)/
    In the system prefs and in ical itself (when creating a stand-alone event) the format is correct. How can I import the date also through mail in the european format?

    The system properties that Java can obtain through the static method System.getProperty() is the following 47:
    java.runtime.name
    sun.boot.library.path
    java.vm.version
    gopherProxySet
    java.vm.vendor
    java.vendor.url
    path.separator
    java.vm.name
    file.encoding.pkg
    java.vm.specification.name
    user.dir
    java.runtime.version
    java.awt.graphicsenv
    os.arch
    java.io.tmpdir
    line.separator
    java.vm.specification.vendor
    java.awt.fonts
    os.name
    java.library.path
    java.specification.name
    java.class.version
    os.version
    user.home
    user.timezone
    java.awt.printerjob
    file.encoding
    java.specification.version
    user.name
    java.class.path
    java.vm.specification.version
    java.home
    user.language
    java.specification.vendor
    awt.toolkit
    java.vm.info
    java.version
    java.ext.dirs
    sun.boot.class.path
    java.vendor
    file.separator
    java.vendor.url.bug
    sun.cpu.endian
    sun.io.unicode.encoding
    mrj.version
    user.region
    sun.cpu.isalist
    ............................

  • Losing formatting when importing rtf file

    Hello and please help!
    Having just laid out 2 volumes of a 3 volume set via cutting & pasting and manually re-introducing formatting, I have been told in no uncertain terms (not by an expert, I add) that I can preserve everything by using rtf. I've tried this before & it failed. The original document is a Word file, which has been imported into Pages by my Mac. When I save it as an rtf and then place it, all formatting and font choices are removed, leaving me with dense text in Time Roman, when the rtf is in Ehrhardt.  Given that ongoing changes are being made to various editorial decisions, line spaces etc, the document has to be reformatted anyway, but if there is a way to import the volume 3 in such a way, I'd be really happy to know about it. Following the Adobe instructions has got me nowhere (could well be me though!). I've checked the import options and went for the preserve text.
    I'm using InDesign CC, working off a Mac.
    Thanks!

    If I open the rtf in TextEdit, all the formatting is there.
    This is an example of the panel I see (hardly legible, but hopefully it looks vaguely familiar). I'm wondering if there is a campatibility issue, but I am getting all sorts of grief from this individual who knows nothing about typesetting but has been told something by someone else, although it all relates to Word!

  • "Bad data format" when reading txt file from the presentation server

    Hello,
    I have a piece of code which reads a txt file from the presentation server to an internal table like below:
    DATA : lv_filename type string.
    lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
    CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
       FILENAME              = lv_filename
    CHANGING
       DATA_TAB            = lt_tsd. " lt_tab has the exact same fields as the Test.txt's. Test.txt has only one line, tab delimited.
    When running this code, exception BAD_DATA_FORMAT is issued.
    Is it because of the file encoding or delimiter or other reason?
    Thanks,
    Yang

    Hello,
    If its tab delimited then use the has_field_seperator parameter and check
    DATA : lv_filename type string.
    lv_filename = 'C:\abap\Test.txt'. "I created a folder called abap under C:\
    CALL method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
       FILENAME                = lv_filename
       FILETYPE                 = 'ASC'
       HAS_FIELD_SEPARATOR          = u2018Xu2019
    CHANGING
       DATA_TAB            = lt_tsd.
    Vikranth

  • Wrong date format when using selection screen query

    Hi all,
    I have a problem in a report when usign the selection screen of the query.
    the system has been upgraded recently from a 3.5 to 7.0. when a query is run in the bex web the user can put in the selection date needer to run the query.
    currently if u select a month using the selection screen next to the input form, the month will show up in the input field
    as 006 09 (006space09) instead of 06.2009 for the selection of june. 
    does anyone know how to fix this? it was working good using the 3.5 version of the bex web.
    Any help apriciated

    Using the list cube transaction and using the selection sceen and selecting the month it does put the right selection in the input field. ive also just tested it using de bx excel plugin and using the selection screen the correct value is set in the input field.  so i think it more of a bex we b problem but i dont know where to start the search for the solution.

  • I tried to import a PDF of a line drawing into Photoshop Elements. The thumbnail looks fine, but when imported the file is empty. This used to work in the past. What is wrong and how do I solve this?

    I tried to import a PDF of a line drawing into Photoshop Elements. The thumbnail looks fine, but when imported the file is empty. This used to work in the past. What is wrong and how do I solve this?

    Hi
    The value of the Channel Strip volume etc is not stored within the C Strip setting, as you have discovered.
    If you really wanted, you could add a Gain plug to the strip, with it set to give the correct output level with the Fader set to 0
    (Or just set the fader manually in MS)
    CCT

  • How to import data from excel or csv files to Oracle table

    hello everybody,
    I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
    Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
    So, how can I import the excel data into Oracle table.
    Thank you in advance.
    cheers,
    shima

    Even easier. Download JDeveloper 11G from this site.
    Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
    Columns -- move the selected columns that you want to load to the box on the right
    Data Types -- select column name from second column to which the data for each column of the import file should load
    DML -- click this tab to generate the INSERT SQL
    Once done click 'Insert'

Maybe you are looking for

  • How to export an album and keep images in the same order in elements 11 mac

    I made an album of my trip to Australia (lots of pictures) and changed the order of the images (not the same as shooting order) and when I export the images in the album to a folder or memorystick, the images are copied to that place but I lost the a

  • Why upgrade to 10/8 version of solaris 10?

    I have solaris 10, 5/8 version, why would I upgrade to the latest 10/08 version? Any substantial improvements?

  • Error in web template executing

    I gt the following error in web application desginer when I run my template: At executing Web Planning Template in web-brouser system return errors: Message: "The status of "QUERY_VIEW_DATA_PROVIDER" "DP_1" may only change during command processing".

  • Fixed Field Movements with SAP New GL

    Good morning, I have added 2 new fields into FAGLFLEXA/T, these fields are standard into table BSEG and I want them to be active into the leading ledger. I tried to mapp these fields using "Fixed Field Movements mapping" (transaction GCI4, table T800

  • Strange occurences on Intermedia (8.1.6) on Solaris 7 vs win2k

    Hi! I have ome strange occurences on Intermedia (8.1.6) on Solaris 7! I had no problems on my testing environment 8.1.6 & win2k! Table t_search with column body as a BLOB (can be Word, PDF, *.txt) <sqlplus> create index T_SEARCH_IDX on t_search ( bod