Answers.Body: <p>petednz - fuzion was right. Type of data that can be selected during custom field setup is related to data. display, not to data type. Database needs full date (even if field was setup as yyyy). Adding 01-01 helped. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-23T23:21:53.013Z
Answers.LastActivityDate: 2017-08-23T23:21:53.013Z
Answers.UserDisplayName: Zglanowany
Body: <p>I have to import small quantity of contacts with custom date field. Field is set as rrrr (which should be filled with 4-digits year - 2017). Every single time, when this year is added in csv file I've got error 'Invalid value for field(s)'. </p>
  
  <p>Value is set as 2015.</p>
  
  <p>What may be the cause of that? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-23T19:48:17.437Z
Comments.Text: i think you need to import as eg 2015-01-01. also what do you mean by rrrr. is that a typo for yyyy?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-23T20:48:12.467Z
Comments.Text: Yes, I ment yyyy  (rrrr is symbol in my language :)) I've just check database for this value that is being saved when I type 2015 and it is saved as '2015-01-01 00:00:00'
Comments.UserDisplayName: Zglanowany
Tags: <custom-fields><import>
Title: Custom data field - problem with import
ThreadText: # Custom data field - problem with import
  
  (Asked by: username_0 on 2017-08-23)
  
  I have to import small quantity of contacts with custom date field. Field is set as rrrr (which should be filled with 4-digits year - 2017). Every single time, when this year is added in csv file I've got error 'Invalid value for field(s)'.
  
  Value is set as 2015.
  
  What may be the cause of that?
  
  **Tags:** custom-fields, import
  
  > **Comments:**
  > **username_1**: i think you need to import as eg 2015-01-01. also what do you mean by rrrr. is that a typo for yyyy?  
  > **username_0**: Yes, I ment yyyy  (rrrr is symbol in my language :)) I've just check database for this value that is being saved when I type 2015 and it is saved as '2015-01-01 00:00:00'  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-08-23. Score: 2 | Accepted answer
  
  username_1 was right. Type of data that can be selected during custom field setup is related to data. display, not to data type. Database needs full date (even if field was setup as yyyy). Adding 01-01 helped.
  
  
  ---
  
  