Back to Devexpress

TIME

officefileapi-15300-word-processing-document-api-fields-field-codes-time.md

latest466 B
Original Source

TIME

  • Sep 19, 2023

Non-MailMerge field

{ TIME [@ “Date-Time Formatting Switch”] }

Inserts the current time.

If you omit the Date-Time Formatting Switch, default formatting is applied. Default formatting is “h:mm tt”. If you set the FieldOptions.UseCurrentCultureDateTimeFormat option to true , the system’s Date and Time settings will be used by default.