> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/import-data/import-data-nl/importconcepten/importvelden/gebruik-een-datumveld-in-de-importmapping.md).

# Gebruik een datumveld in de importmapping

Koppel datumvelden correct en gebruik ondersteunde datumnotaties.

Als je een import in Channable hebt die een veld met een datum bevat, koppel die dan aan een veldtype 'Datum en tijd', zodat je speciale ['datum'-regels](https://channable-test.gitbook.io/channable-test-docs/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules/rule-conditions-dates) Naar filteren op basis van deze datum.

Volg deze stappen om je Veld Naar het 'Datum en tijd'-Type te mappen:

{% stepper %}
{% step %}

### Koppel het Veld

Ga naar **Setup > Importen > \[Toegevoegde import] > Mapping.** Zoek je Interne velden met de datum erin.
{% endstep %}

{% step %}

### Edit het Veld

Klik **Edit**.
{% endstep %}

{% step %}

### Stel Type in op Datum en tijd

In de pop omhoog, bij de **Type** Veld, Selecteer 'Datum en tijd'.
{% endstep %}

{% step %}

### Opslaan en importeren

Klik **Opslaan en importeren.** Er komt een nieuwe **Aangepast datumformaat** dropdown naast het **Edit** veld.
{% endstep %}

{% step %}

### Kies of geef een datumformaat op

Klik op de **Aangepast datumformaat** dropdown. Kies een standaard datumformaat, of kies ervoor om een aangepast datumformaat op te geven.
{% endstep %}
{% endstepper %}

<figure><img src="https://3650603700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZa0iYflHeXmKWGnfFMAN%2Fuploads%2FaVf3tDTjxcbSmTtqqWBM%2Fimage.png?alt=media&amp;token=9d42d17c-4541-404a-bba8-0d7fd9b292eb" alt=""><figcaption></figcaption></figure>

#### Datumformaten <a href="#h_01j29386ja26ew163yjc1wqj1d" id="h_01j29386ja26ew163yjc1wqj1d"></a>

| **Datum in je import**                                      | **Datumopmaak Naar kiezen in Channable** |
| ----------------------------------------------------------- | ---------------------------------------- |
| 2017-10-19T15:03:23                                         | ISO 8601                                 |
| <p>2017-10-19T15:03:23Z</p><p>2017-10-19T15:03:23+02:00</p> | ISO 8601 TZ                              |
| Do, 19 okt 2017 15:03:23 +0200                              | RFC 2822                                 |
| 2017-10-19                                                  | jaar-maand-dag                           |
| 19-10-2017                                                  | Dag-maand-jaar                           |
| 10-19-2017                                                  | maand-dag-jaar                           |

of gebruik een aangepast formaat:

#### Aangepaste formaten <a href="#id-01k60pabm1qqefy9ccvenktck5" id="id-01k60pabm1qqefy9ccvenktck5"></a>

Aangepaste formaten bepalen de notatie van een datum.

| **Datum in je import** | **Aangepaste datum** |
| ---------------------- | -------------------- |
| 25-07-2017 11:53       | %d-%m-%Y %H:%M       |
| 25-07-2017 11:53:39    | %d-%m-%Y %H:%M:%S    |
| 25-07-2015T11:53       | %d-%m-%YT%H:%M       |

Het datumformaat wordt gedefinieerd door een tekenreeks met twee soorten tekens:

* Statische Tekst: Tekens die letterlijk in de uitvoer verschijnen (bijv. /, -, spatie)
* Specificaties: Variabele datumonderdelen die beginnen met een procentteken (bijv. %m voor het Getal van de maand)

{% hint style="info" %}
**Opmerking:** Formaatspecificaties verwachten standaard dat Getallen hun volledige notatie hebben (d.w\.z. 05 in plaats van 5). Om de verkorte versie te gebruiken, gebruik %- gevolgd door de specificatie (bijv. %-d).
{% endhint %}

| **Formaatspecificaties** | **Beschrijving**                                                                                                                       |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| %Y                       | Het jaar                                                                                                                               |
| %y                       | Het jaar van de eeuw, dus twee cijfers                                                                                                 |
| %m                       | De maand van het jaar (als een Getal)                                                                                                  |
| %B                       | De naam van de maand van het jaar (januari, februari, enz.)                                                                            |
| %b                       | De korte naam van de maand van het jaar (jan, feb, enz.)                                                                               |
| %V                       | De week van het jaar (als een Getal 1-53)                                                                                              |
| %d                       | De dag van de maand                                                                                                                    |
| %A                       | De Naam van de dag van de week (maandag, dinsdag, enz.)                                                                                |
| %a                       | De korte Naam van de dag van de week (Mon, Tue, enz.)                                                                                  |
| %p                       | Het dagdeel van de dag (dus AM of PM)                                                                                                  |
| %H                       | Het uur van de dag (dus vanuit 0 Naar 23, inclusief)                                                                                   |
| %I                       | Het uur van de daghelft (dus vanuit 1 Naar 12, inclusief)                                                                              |
| %M                       | De minuut van het uur                                                                                                                  |
| %S                       | De tweede van de minuut                                                                                                                |
| %Q                       | Optioneel punt en fractiegedeelte van de tweede. Naar het opgeven van fractionele seconden, combineer dit met %S, d.w\.z. gebruik %S%Q |
| %z                       | Tijdzone-offset in het formaat ±HHMM                                                                                                   |
| %Z                       | Naam van de tijdzone of offset in de indeling ±HHMM                                                                                    |

{% hint style="success" %}
**Tip:** Naar gebruik je een % in een tekenreeks, gebruik %%.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.channable.com/import-data/import-data-nl/importconcepten/importvelden/gebruik-een-datumveld-in-de-importmapping.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
