When you first add a manual date/time variable to your project, it displays the date and time the variable was initially created. However, you can update these variables at any time so they display the current date and time. You can update each manual variable individually, or you can update all of the manual variables in the project at once.
Open the content file (e.g., topic, snippet).
- Right-click the manual date/time variable.
- From the context menu, do one of the following, depending on if you want to update only the selected variable or all of the manual date/time variables in the project:
- Selected Date/Time Variable Select Update DateTime Value. The manual date/time variable updates to the current date and time.
- All Date/Time Variables Select Update All DateTime Values. All manual date/time variables in the project update to the current date and time.
Click to save your work.
Note: Like standard variables, you can override custom date/time variables in a target.
Note: If you want to change how variables look when they're inserted in the XML Editor, you can change the MadCap|variable style in the Stylesheet Editor. This does not affect the output. For example, if you want all of your variables to stand out with a blue font—making it easier to identify them as you work—you can use this style.