Skip to content
Snippets Groups Projects
Unverified Commit 88a1382b authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Update custom data date format information as per @colemanw


Co-Authored-By: colemanw's avatarcolemanw <coleman@civicrm.org>
parent f786c282
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ $values['custom_field_reference'] = 'value';
To return custom data for an entity just include the machine name of the custom data in the select array.
For setting custom date fields, (ie CustomValue create), date format is `YmdHis`, for example: `20050425000000`.
For setting custom date fields, date format is anything understood by `strtotime`, e.g. "now" or "-1 week" or "2020-12-25"
This is just a brief introduction; each API may have different requirements and allow different formats for accessing the custom data. See the [API function documentation](/api/index.md) and also read the comments and documentation in each API php file (under `civicrm/CRM/api/v3` in your CiviCRM installation) for exact details,
which vary for each API entity and function.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment