Date and Time (Named Data Type)
Jump to navigation
Jump to search
Used to store date and/or time.
Template XML definition
| Property | XML | Description | Presence | Default |
|---|---|---|---|---|
| Settings | [E] Settings
|
required | ||
| Date | [A] BOOL Date
|
Enter date | optional | true
|
| Time | [A] BOOL Time
|
Enter time | optional | true
|
| Range | [E] Range
|
optional | ||
| Allow empty date | [A] BOOL AllowEmptyDate
|
User can keep date undefined | optional | true
|
| Allow empty time | [A] BOOL AllowEmptyTime
|
User can keep time undefined | optional | true
|
Example of the Template XML
<Item ID="{A94D4006-9CDA-4454-AE47-F25185051A47}" ItemType="DateTime">
<Name Lang="CS" Text="Datum" />
<Settings Time="false" />
</Item>
Data XML definition
| Property | XML | Description |
|---|---|---|
| Date | [A] DATE Date
|
Contains date in the format yyyy.mm.dd |
| Time | [A] TIME Date
|
Contains time in the format hh:mm:ss |
Example of Data XML
<Item ID="{A94D4006-9CDA-4454-AE47-F25185051A47}" Date="2022.03.09" Time="15:00:00" />