How to format a date property

Suppose you want to display a date with a certain format inside your drawing, for example: "23-November-2001". You can proceed as follows.

  1. Create a character class named "mydate"
  2. Assign it to the drawing giving it the following value: "11/23/01"
  3. Create a text like the following:

     

     $M{mydate:F("#date(%d-%B-%Y)")}

     

    and position it into the drawing.
If the Symbolic text expansion check box in the Symbolic Texts area of the Text category in the Document Properties is selected, the string:

23-November-2001

will be displayed.


Formatting a date

You can format a date property as you like best using the F("#date(date format)") option.

See the complete list of date formatting codes in "Date formatting codes". See also Syntax of symbolic expressions.