|
3 | 3 | 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. |
4 | 4 |
|
5 | 5 | {% hint style="info" %} |
6 | | -These property editors supersede the [Date Time](../date-time.md) property editor, offering more focused functionality and specific return types (like `DateOnly`, `TimeOnly`, `DateTime`, or `DateTimeOffset`). You can switch from the legacy Date Time editor by changing your properties to use data types with these new editors. |
| 6 | +These property editors supersede the [Date Time](../date-time.md) property editor, offering more focused functionality and specific return types (like `DateOnly`, `TimeOnly`, `DateTime`, or `DateTimeOffset`). You can switch from the legacy Date Time editor by changing your properties to use the new editors. |
7 | 7 | {% endhint %} |
8 | 8 |
|
9 | 9 | Umbraco CMS currently ships with four Date Time editors: |
10 | 10 |
|
11 | | -## [Date Only](date-only.md) |
12 | | - |
13 | | -For selecting dates without time or time zone information. Returns `DateOnly?` values and is ideal for birthdays, deadlines, and event dates. |
14 | | - |
15 | | - |
16 | | - |
17 | | -## [Time Only](time-only.md) |
18 | | - |
19 | | -For selecting times without date or time zone information. Returns `TimeOnly?` values and is ideal for business hours, schedules, and time-based events. |
20 | | - |
21 | | - |
22 | | - |
23 | | -## [Date Time (Unspecified)](date-time-unspecified.md) |
24 | | - |
25 | | -For selecting dates and times without time zone information. Returns `DateTime?` values and is compatible with existing [DateTime](../date-time.md) editor. |
26 | | - |
27 | | - |
28 | | - |
29 | | -## [Date Time (with Time Zone)](date-time-with-time-zone.md) |
30 | | - |
31 | | -For comprehensive date, time, and time zone selection. Returns `DateTimeOffset?` values and handles time zones, daylight saving time, and international date/time scenarios. |
32 | | - |
33 | | - |
| 11 | +| Editor | Purpose | Use Cases | Return Type | Preview | |
| 12 | +|--------|---------|-----------|-------------|---------| |
| 13 | +| [Date Only](date-only.md) | Date selection | Birthdays, deadlines, event dates | `DateOnly` |  | |
| 14 | +| [Time Only](time-only.md) | Time selection | Business hours, schedules, time-based events | `TimeOnly` |  | |
| 15 | +| [Date Time (Unspecified)](date-time-unspecified.md) | Date and time without timezone | Local events | `DateTime` |  | |
| 16 | +| [Date Time (with Time Zone)](date-time-with-time-zone.md) | Full date, time, and timezone support | International apps, timezone-aware scheduling | `DateTimeOffset` |  | |
0 commit comments