Skip to content

API reference / Common / Engine types / TextDatePart

Type Alias: TextDatePart ​

ts
type TextDatePart = 
  | "dayShort"
  | "dayLong"
  | "monthShort"
  | "monthLong"
  | "yearShort"
  | "yearLong";

One component of the current date — what a wordprocessing shortcut element paints.