Results 1 to 4 of 4

Thread: Importing dates from a CSV file

  1. #1
    jforrest is offline Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default Importing dates from a CSV file

    I am trying to import dates from a CSV file and I am getting errors like the following:

    "Invalid date dtring","LBL_DATE_OF_RFP (date_of_rfp_c)",9/1/09,1
    I have tried modifying the date formats in the csv in a number of ways including YYYY-MM-DD, YYYY-MM-DD HH:MM, MM/DD/YY, and MM/DD/YY HH:MM. None of these worked.

    What am I missing? I couldn't find anything in the forums here or in the Implementing SugarCRM book. Thanks.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Importing dates from a CSV file

    Try YYYYMMDD (no dashes)
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    jforrest is offline Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default Re: Importing dates from a CSV file

    Still no luck.
    "Invalid date dtring","LBL_DATE_OF_RFP (date_of_rfp_c)",20090901,1
    Do I need to include a timestamp?

  4. #4
    jforrest is offline Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default Re: Importing dates from a CSV file

    Finally got this working. The format has to be MM/DD/YYYY

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2009-01-22, 05:58 PM
  2. about importing contact csv file
    By ashiwebi in forum General Discussion
    Replies: 1
    Last Post: 2009-01-15, 05:24 AM
  3. Importing dates to a custom field
    By floyd in forum General Discussion
    Replies: 1
    Last Post: 2005-06-29, 11:28 AM
  4. Importing dates to custom fields
    By floyd in forum Help
    Replies: 0
    Last Post: 2005-06-28, 11:28 PM
  5. Error Importing csv file
    By markpickford in forum Help
    Replies: 1
    Last Post: 2005-04-22, 06:19 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •