From The Document Foundation Wiki
- select the ▸ ▸ menu (Ctrl+F2);
- select DocInformation tab;
- to retrieve:
- in the Select list, select Date
- in the Format list, select the format you want to use;
- to get the field value fixed, check Fixed content, otherwise the field could be modified during an update;
- click Insert; and
- click Close.
- If the information does not exist (if the file has not yet been saved or has not yet been printed) the field stays empty and nothing is visible.