Macros

Automatic macros

Automatic macros are implicitly defined and updated in conjuction with the setting of the corresponding project property. Automatic macros always have all-lowercase names.

TaskJuggler supports the following automatic macros, which all default to the moment when TaskJuggler was invoked:

nowThe current date and time as defined in the project header.
projectendThe project end date and time as defined in the project header.
projectstartThe project start date and time as defined in the project header.

User defined macros

User defined macros are defined in the project file by using the macro property. The name of a user defined macro must have at least one uppercase character in order not to conflict with automatic macros that might be added with later versions of TaskJuggler.