---
id: "part_of_day"
kind: "datatype"
status: "draft"
is_pii: false
name: "Part of the day"
categories: ["datetime"]
langs: ["en", "es", "pt", "de", "fr"]
quality: 55
url: "https://registry.apicrafter.io/datatype/part_of_day"
---

# Part of the day (`part_of_day`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Part of the day in words: morning, afternoon, evening and night, sometimes with noon, midnight, early morning or late night. Surveys of time use and media consumption, crime and traffic incident records and schedules give it instead of a time (time of day, daypart; mañana, tarde, noche in Spanish; manhã, tarde, noite in Portuguese). The session in which a school works is school_shift.

- Parent datatype: [`category`](https://registry.apicrafter.io/datatype/category.md)
- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: English (en), Spanish (es), Portuguese (pt), German (de), French (fr)
- Classification: categorical

## Examples

- `Morning`
- `Afternoon`
- `Evening`
- `Night`
- `Noche` — Night in Spanish
- `14:30` (invalid example) — A time (time)

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `partofdaybyname` (field, `common/dateandtime.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Время суток

## Quality

Score 55/100. Missing: regexp, source link, mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/part_of_day.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/part_of_day.yaml>
