Back to Devexpress

CREATEDATE

officefileapi-15289-word-processing-document-api-fields-field-codes-createdate.md

latest757 B
Original Source

CREATEDATE

  • Sep 19, 2023

Mixed Field

{ CREATEDATE [@ “format“] [* MERGEFORMAT]}

Inserts the current date and time in the mail merge document. The format parameter is optional. The * MERGEFORMAT switch retains formatting applied to the field.

If you omit the format parameter, default formatting is applied. Default formatting is “M/d/yyyy”. If you set the FieldOptions.UseCurrentCultureDateTimeFormat option to true , the system’s Date and Time settings will be used by default.

Field CodesField Results
CREATEDATE4/18/2011
CREATEDATE @ “dddd, MMMM dd, yyyy HH:mm:ss”Monday, April 18, 2011 11:25:26