---
schema_version: "1"
id: 1743a33151e4d8d535716ac7903bb3585eb4176de05da02992f37e56b3c6e079
title: DateTimeUnitOfMeasure
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/datetimeunitofmeasure.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/datetimeunitofmeasure.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9ddeb1b0b71105f91bdf018d0527d2750a105f59c75e4c5f1d5d91779c223886
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# DateTimeUnitOfMeasure

An enumeration of the possible units of measure for time values in data extension retention settings.

| Name     | Description                                                                                     |
| -------- | ----------------------------------------------------------------------------------------------- |
| `Days`   | Indicates that the time value used for data retention of data extensions is measured in days.   |
| `Months` | Indicates that the time value used for data retention of data extensions is measured in months. |
| `Weeks`  | Indicates that the time value used for data retention of data extensions is measured in weeks.  |
| `Years`  | Indicates that the time value used for data retention of data extensions is measured in years.  |
