Which function for iso-8601 date conversions?

I have some foreign data files which use iso-8601 date formats, (yay for standardized, unambiguous formats!).  But when I import them into Numbers 3.0, they're being "auto" formatted as text, not dates.
Attempting to convert them explicitly to dates results in an error, suggesting that Numbers 3.0 won't generally recognize standard date formats.
Is there a set of functions to convert these to/from whatever date format Numbers is using?

It would appear as though Numbers lacks the ability to read or parse ISO-8601 standard date format.  It also apparently lacks the ability to handle time zones so it wouldn't be very easy to extend it as is.
They can be parsed using text functions into Numbers dates if you're willing to throw away the time zone and milliseconds.

Similar Messages

  • Parsing ISO 8601 Dates

    Anybody know of a function out there that will parse an ISO
    8601 date into a Date object. An ISO 8601 date looks like so:
    2008-11-26T07:30:44-0-8:00

    Nevermind I found the parser in the adobe utils
    package.

  • OSB DB-Adapter and a date column: JCA exception ISO 8601 date format?

    Hello
    I work with Oracle Service Bus (eclipse oepe and jdev)
    On database side I've a view with a date column (datatype=date!)
    With JDev I create a DB Adapter with a select operation on that view. This db adapter can be successfully generated.
    Now I import the generated artefacts (xsd, wsdl, jca) into my eclipse service-bus-project. Then I generate a business service based on the jca. Also this works fine.
    Then I deploy the project to my developement osb. Also this works fine.
    When I test my business service (osb test console), I get a runtime error:
    Exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException:
    Exception Description: The object [03.07.70], of class [class java.lang.String], from mapping [org.eclipse.persistence.mappings.DirectToFieldMapping[geburtsdatum-->XYZ_VIW.GEBURTSDATUM]] with descriptor [ObjectRelationalDataTypeDescriptor(DB_Adabper_XZY.XZY--> [DatabaseTable(XYZ_XYZ_VIE)])], could not be converted to [class java.sql.Timestamp].
    Zeichenfolgenwert im XML-Code kann nicht in java.sql.Date konvertiert werden.
    Datenbanken akzeptieren zwar Zeichenfolgen, die Datumsangaben in verschiedenen Formaten darstellen, jedoch akzeptiert der Adapter nur Zeichenfolgen, die Datumsangaben im ISO-XML-Datumsformat darstellen.
    Der Eingabewert muss das ISO 8601-Datumsformat YYYY-MM-DD aufweisen.
    ==> so this seems to be a date format problem. but why?
    I've checked the view ---> it's a date!
    After that I do not have any influence to change it - and actually I don't want to change it. It still should be a datatype of DATE.
    Why does JDEV not correctly convert it?
    Anyone had the same problem?
    Any help would be appreciated.
    Thanks
    Best regards,
    Reto

    OS is winXP
    database is Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    Yes it is a datetime:
    <xs:element name="geburtsdatum" type="xs:dateTime" minOccurs="0" nillable="true"/>
    This is absolutelly correct. But on runtime, I'll get the date convertion error as mentionend above. It seems as the date cannot be converted from database date column to a osb date.
    Strange, I didn't expect to have date format problems here.
    I use
    1.) Oracle Database (view) with a DATE column
    2.) Oracle JDeveloper database adapter (generated db adapter based on view, point 1)
    3.) Oracle Service Bus using the jca of generated database adapter, point 2)
    So I think I don't have to set any date format, everything shoult be a DATE and therefore no formating has to be done by me, or am I wrong?
    Best regards
    Reto

  • Function for changing planned dates of activity

    How can I change planned dates of activity in code ?
    Is anyone familar with a bapi/function for this ?
    Thanks,
    Nitzan

    Hi Nitzan,
    Actually When you want to change planned date of the activity?
    If it is during the processing of the activity, you can do it by  two methods
    1)Either by using a call back function module configured in CRMV_EVENT transaction. In this function module read the date using CRM_order_READ FM to read ET_APPOINTMENT table.
    Then use CRM_ORDER_MAINTAIN to change to change the date.
    2) use the BADI order_save and implement the method  CHANGE_BEFORE_UPDATE and put the same logic.
    OR
    if you want to do it externally, use the BAPI BAPI_ACTIVITYCRM_CHANGEMULTI to change the activity dates.
    Regards,
    Annu Cyriac

  • ISO-8601 date format in solaris

    Hi,
    I would like know wether it possible to display date in ISO-8601 format on solaris10 machine.
    If possible could you please let me know.
    Thanks in advance
    RaghuDeep Amilineni

    http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html
    http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html#SimpleDateFormat(java.lang.String)
    http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html#parse(java.lang.String)
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html#getTime()hth

  • Which function to clear private data

    There is in Firefox a function in Tools, saying Clear Private data, which is the correspondent one in Safari ?
    Thanks

    Hi Ferro!
    Reset Safari is the equivalent you're looking for. It will wipe everything clean. Just go to Safari > Reset Safari in the menu. And an additional feature is if you turn Private Browsing prior to surfing around it will not keep any info...so you can also keep Safari clean that way...
    Reg

  • User defined function for removing wrong data ... !!!

    Hi  Experts,
    I'm having a source data like this
    1001     545     6895895     1584     654     5478
    1002     525     6895895     5084     654     5472
    1003     535     6895895     0584     654     5478
    1004     545     6895895     5184     654     5478     4XXX     &^%%     1004     545
    1005     555     6895895     5824     654     5478     8547     0000     522#     ##00
    1006     565     6895895     5844     654     5478
    1007     575     6895895     5845     654     5478
    1008     585     6895895     5846     654     5478
    Some times I get a wrong data in my source file (above 4 and 5 th rows) .
    My requirement is to remove these kind of wrong lines(entire lines to be removed) whenever XI reads the data. For this what is the standard function i can use in mapping. I thought I can create my own function to remove such kind of false data lines. It would be helpful for me if some body provide me the java code.
    Thanks very much.

    Hi Swarna,
    1001 545 6895895 1584 654 5478
    1002 525 6895895 5084 654 5472
    1003 535 6895895 0584 654 5478
    1004 545 6895895 5184 654 5478 4XXX &^%% 1004 545
    1005 555 6895895 5824 654 5478 8547 0000 522# ##00
    1006 565 6895895 5844 654 5478
    1007 575 6895895 5845 654 5478
    1008 585 6895895 5846 654 5478
    is it the .txt file you are keeping.  Or the input in your mapping.
    You just Tell your requirement properly.
    If it is input in Mapping. Map like this
    input ----->subtring( starting position 0 andNumber of characters 30) ---->Output
    substring is a standard Text function.
    Thanks.

  • How implement function for CRM - R3 data exchange

    Hi gurus,
    I'm trying to implement sap note 686215 for CRM side.
    I've create the function module Z_CURRENT_STATE_BUPA_MAIN and insert the record
    into table CRMC_BUT_CALL_FU.
    But now i'dont know how to debug it.
    I've stop the crm outbound and when i save an order in crm and look the outbound bidoc i see:
             Function Module                 Queue Name                Destination                       Date        Time     
          BAPI_SALESDOCU_PROXY_UPLOAD     R3AUORDER_0045000548      QASCLNT100     03.02.2010  15:21:04 
    If i try to debug the FM BAPI_SALESDOCU_PROXY_UPLOAD of bidoc from TR smqs i don't find anything about CRMC_BUT_CALL_FU function modules.
    Any Help?
    Thanks in advance,
    Regards
    Davide

    Hi Davide,
    Not much sure about what exactly you are expecting? Are you trying to create a Data Exchange Scenario within SAP ECC and SAP CRM? Or are you trying to use any existing scenario to enhance it?
    To implement the data exchange between SAP CRM and ECC you need to perform a lot of steps and you need some more function modules.
    It would be good if you can specify more about your requirement as it will help a lot more to tackle the actual problem.
    Hope this helps.
    Thanks,
    Samantak.

  • What's the fastest C function for writing binary data to disk?

    I'm acquiring data at high speeds across multiple boards and I'm having a hard time writing the data to disk fast enough to keep up. I'm programming in C in Visual Studios and I'm currently using fwrite. I have a similar system set up in LabView and my C code can't perform as well. Is there a better or faster way to write to disk in C?

    Some speculated a few years ago that there would be
    no reason to use Fortran too. :)Are you saying there's a reason to use Fortran? Help me lord!
    Anyway, they were right! The industry may be stalling, but the vision is not. The economy and many other factors are to blame for why we haven't been able to break out of the computing paradigm we're stuck in. It's like the automobile, it hasn't changed in a century. Why? $$$
    Oh, people said we'd have flying cars by now, where are they? Well we do have them! But we're too busy spending that 400 billion a year on war instead of evolving as a species.
    Anyway, when we take the next step and have true distributed computing with multi-core processors everywhere, Java will run, Java will scale, and Java will outperform ANYTHING available.
    And speaking of game programming, the PS3 developers are having a hell of a time doing the 3 CPUs. Why? Because all they've ever done is single & double processor systems. It's time to think out of the box. When a game console hits the market with 512 CPU cores, do you REALLY think C/C++ will run on that? But, Java was designed for it.
    Java = the future
    C++ = the past

  • Help to find function for month btween date

    i need a function that i bring begda and endda and give the month btween.
    like
    begda = 01012007
    endda  =  01062007
    i get 01012007,01022007,01032007.....until 01062007
    i reward
    thankes

    Hi Shnya,
    Use Transaction SU3.
    Click on tab "DEFAULTS" (Middleone)
    In the section Date Format --the very first format is DD.MM.YYYY
    Select it and save it.
    Regards,
    Dev

  • XI for managing data conversions

    My customer is considering using XI for managing their data conversions.  This is a very large implementation with many source data systems.  We will also have a very large volume of data to migrate.  For example, we'll have around 8 million materials.  For these materials, we're thinking we can extract this data and map it to an idoc structure and pass into SAP via XI.  First, has anyone used XI for data conversions?  Second, have you dealt with this volume of transactions?  Can XI handle this?  Any thoughts or comments would be greatly appreciated.
    Regards,
    Chris

    Hi Chris,
    SAP XI is used for those exact purposes.  Of course as volume increases, your customer will have to increase memory and hardware.  They have also consider the whether the messages are synchronous.  In case of migration, I think they will be asynchronous.  SAP has a customer who before going live, performed some massive load tests that will simulate an average "real" working day, of 1,200,000 (million, two hundreds thousands) transactions, and it worked smoothly yet fast.  Your customer will most likely have to break up 8 million material into daily batches for now.
    Enjoy!
    John Ta

  • Sunday 17-Jan-2010: In week 2 or week 3? Does Apple use ISO week dates?

    According to Wikipedia, http://en.wikipedia.org/wiki/ISOweekdate "All week-numbering years start with a Monday and end with a Sunday."
    http://personal.ecu.edu/mccartyr/isowdcal.html shows this too.
    However, my MBP running 10.5.8. shows today, Sun 17 Jan 2010 as week 3.
    This can be seen quickly by, following http://lifehacker.com/316029/display-the-date-on-the-menubar and dragging the Week of Year into the clock time shown on the menu bar, and viewing it on a Sunday.
    Or does Apple not follow the ISO week date numbering standard?
    Thanks,
    Martin.

    red_menace wrote:
    Actually, Apple does use (or is supposedly using) ISO 8601, but the System Preferences settings can override some of these, such as the region, calendar, or first day of the week.
    Actually, I think it is still an open question. According to Apple developer documentation:
    NSISO8601Calendar Identifier for the ISO8601. The ISO8601 calendar is not yet implemented.
    It does look like some of the conversions are a bit off, even in Snow Leopard, unless there is something I'm missing, too. Changing the date format (week starts with Monday) in System Preferences shows the correct week there (2), but getting the date from AppleScript, for example, shows week 3.
    I played around with my system preferences and could change the week start day, but I could never get an ISO 8601 date. Today (Sun, Jan 17th, 2010), I get either week 4 (Sunday) or week 3 (Monday).
    Clearly there are lots of date and time APIs to choose from and many of them on MacOS X already support this format. They haven't made it to the official system preferences level. Considering all the other calendar formats that Apple supports, I think this is a bug and mostly reflects MacOS X's American heritage. Americans don't use this value at all and don't even know to add it to a locale option.
    I filed a bug report on it. Don't hold your breath for it getting fixed anytime soon. In the meantime, here is a widget that will display the current week number: http://www.apple.com/downloads/dashboard/status/weeknumber_ntnu.html

  • Problem with the date conversion

    Hi Friends,
    i am facing the problem with the date conversion,  Actuall my requirement is to pass the date to the screen based on the user setting roles(SU01).
    I have fetched the user setting date format by using the funciton module SUSR_GET_USER_DEFAULTS, The function module picks the exact user date setting (Like as MM/DD/YYYY, MM.DD.YYYY, DD.MM.YY).
    After that i have implemented the FORMAT_DATE_4_OUTPUT funciton module for converting of the user role setting date format into system  date format.
    for the english language case the funciton module FORMAT_DATE_4_OUTPUT works fine but the funciton module not supported for other languages
    Can you please provide the Function Moudle for user setting date conversion.
    The funciton module is most important for us,
    Thanks
    Charan
    Moderator message: date conversion questions = FAQ, please search before posting.
    Edited by: Thomas Zloch on Dec 21, 2010 2:19 PM

    Hope this logic helps you.
    DATA LF_DATE    TYPE DATS VALUE '21122010'. " 21-dec-2010
    DATA LF_DATE_BI(10).
    WRITE LF_DATE TO LF_DATE_BI.  "Now LF_DATE_BI contains the date in user format
    "Now populate the value LF_DATE_BI to the screen field

  • HR Master Data conversion-SAP Best Practices

    Hello there,
    We would like to use the SAP Best Practices for HR Master Data conversion. 
    Now we want leverage the SAP Best practices to convert the Master data.  Could any one explain in detail how to do the same.
    How to install the Best Practices only to the extent of the Data conversion.  We don't want to use the rest of the Best Practicies.
    I know there are some notes out there. 
    Any help on the above highly appriciated.

    HI,
    I am not v sure if u can install only the required component. But there would be some pre requisites for every installation.
    It will be clearly mentioned in the base line
    Also Check if its available for the country which ur currently working...
    Use the ECATT: Test Configuratio & Test Scripts
    Pls revert in case u need further more details..

  • Service contract data conversion

    Hi,
    Where can I get documentation for service contraction data conversion process.I mean interface tables or api's etc.
    Thanks
    ram

    Can you please specify where can I find stepwise explanation for Service Contracts using APIs. Which Oracle API ref guide you are reffering here.
    rgds

Maybe you are looking for