CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Importing contacts - Invalid dates
Pages: [1]

Author Topic: Importing contacts - Invalid dates  (Read 1203 times)

seaweasel

  • Guest
Importing contacts - Invalid dates
December 17, 2007, 11:31:23 am
I'm importing around a 1000 contacts for a CiviCRM deployment I'm setting up and I'm having some trouble with date formats. The date preferences and my csv file are set to standard UK format (dd/mm/yy) and I was a bit disapointed to find that this was not included in the date settings on import. I therefore changed my the date fields in my csv file to dd-mon-yy so I could select this option on import, however I'm still getting the same problem showing up in the error file that is exported:

Invalid value for field(s) : Interview 2 Date; Interview 2 Date; Birth-Date
Invalid value for field(s) : Interview 1 Date; Interview 1 Date; Birth-Date

These errors are showing up about half the time each.

Birth date is the default field and there are also two Interview date fields set up as custom fields. Can anyone offer any suggestions? Thanks.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Importing contacts - Invalid dates
December 17, 2007, 12:24:07 pm
Currently CiviCRM Support date import in formats that are specified during import process. So you might have to convert your dates into one of those formats.

kurund
Found this reply helpful? Support CiviCRM

seaweasel

  • Guest
Re: Importing contacts - Invalid dates
December 17, 2007, 02:31:56 pm
As I said, I converted all the date fields into the format dd-mon-yy as specified on the first import page.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Importing contacts - Invalid dates
December 17, 2007, 02:51:22 pm
Can you try importing with some sample data on demo.  If you are able to replicate the problem  can you file an issue for the same and also attach sample csv file.

kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Importing contacts - Invalid dates

This forum was archived on 2017-11-26.