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 Import (Moderator: Yashodha Chaku) »
  • In Contact imports, how to create new date format ? I don't want to specify year
Pages: [1]

Author Topic: In Contact imports, how to create new date format ? I don't want to specify year  (Read 992 times)

sushant1431

  • Guest
In Contact imports, how to create new date format ? I don't want to specify year
April 02, 2010, 02:22:23 am
In Contacts imports, how to create new date format ? because I don't want to specify year in birth date.

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: In Contact imports, how to create new date format ? I don't want to specify year
April 02, 2010, 06:31:49 am
You can import dates in formats that are supported by CiviCRM. For any other formats you will have to modify code.

Kurund
Found this reply helpful? Support CiviCRM

sushant1431

  • Guest
Re: In Contact imports, how to create new date format ? I don't want to specify year
April 06, 2010, 03:14:32 am
Ok Cool, but which file i need to modify, Actually in "Birth Date"  I don't want to import Birth Year.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: In Contact imports, how to create new date format ? I don't want to specify year
April 06, 2010, 04:43:30 am
The built-in birth date field is a full date-format field so if you stored data in that field it will be in a full date format. (you can only get around this by storing it in a different field.)

You can, however, intervene in how it is displayed - ie. edit tpl files so that if your date show 13 Jan 1900 it would only show 13 Jan.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • In Contact imports, how to create new date format ? I don't want to specify year

This forum was archived on 2017-11-26.