# Date Time Editors

The Date Time property editors provide interfaces for selecting dates, times, and time zones. Each editor is designed for specific use cases, from basic date selection to comprehensive date/time handling with time zone support.

{% hint style="info" %}
These property editors replace the legacy `[Date Time](../date-time.md)` property editor. They offer more focused functionality and specific return types (such as `DateOnly`, `TimeOnly`, `DateTime`, or `DateTimeOffset`). You can switch from the legacy Date Time editor by changing your properties to use the new editors.
{% endhint %}

Umbraco CMS currently ships with four Date Time editors:

| Editor                                                                                                                                                                                  | Purpose                                   | Use Cases                                                                                                                                                               | Return Type      | Preview                                                                                                                                                                                                                                                       |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Date Only](https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-editor/date-only)                                 | Date selection                            | Birthdays, deadlines, event dates                                                                                                                                       | `DateOnly`       | ![Date Only editor](https://2050077833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb0WSXUuM7Qx5BfREagAI%2Fuploads%2Fgit-blob-fd10f8e2c69dfb416fee805d050a6afbbd047aa5%2Fdate-only-editor.png?alt=media)                               |
| [Time Only](https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-editor/time-only)                                 | Time selection                            | Business hours, schedules, time-based events                                                                                                                            | `TimeOnly`       | ![Time Only editor](https://2050077833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb0WSXUuM7Qx5BfREagAI%2Fuploads%2Fgit-blob-7d71ed9c6a46b7f5446385f958669f0d8eafc430%2Ftime-only-time-format-hhmm.png?alt=media)                     |
| [Date Time (with Time Zone)](https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-editor/date-time-with-time-zone) | Full date, time, and time zone support    | International apps, timezone-aware scheduling                                                                                                                           | `DateTimeOffset` | ![Date Time with Time Zone editor](https://2050077833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb0WSXUuM7Qx5BfREagAI%2Fuploads%2Fgit-blob-ad9cfee9fb6c82086928278d749d5921f3207130%2Fdate-time-with-time-zone-editor.png?alt=media) |
| [Date Time (Unspecified)](https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-editor/date-time-unspecified)       | Date and time without a defined time zone | Local events, compatibility with [Date Time](https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time) | `DateTime`       | ![Date Time Unspecified editor](https://2050077833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb0WSXUuM7Qx5BfREagAI%2Fuploads%2Fgit-blob-37bdce336f37f42a66a669a6a83d5bc74140eecb%2Fdate-time-time-format-hhmm.png?alt=media)         |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
