Skip to content

API reference / Common / Engine types / ContentControlDate

Interface: ContentControlDate ​

w:date — how a date control formats, and which date it holds.

Properties ​

PropertyDescription
format?
string
w:dateFormat — a Word date picture ("d-MMM-yy"), not a format of ours. Kept verbatim; a date pass reads it.
language?
string
w:lid — the BCP-47 tag the picture is read in, the same tag space as TextLanguage.
storeAs?
ContentControlDateStorage
w:storeMappedDataAs — how a bound date lands in the custom XML. Absent where the producer said nothing.
calendar?
ContentControlCalendar
w:calendar — the calendar the date is expressed in.
fullDate?
string
@w:fullDate — the chosen date, verbatim ISO-8601. A String: there is no date type in this workspace, the value is preserved and re-emitted unchanged, and only a date pass would need it parsed. The content is what displays.