Macros

Automatic macros

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

The following automatic macros are supported by TaskJuggler.

nowThe current date and time as defined in the project header. It defaults to the moment when TaskJuggler was invoked.
projectendThe project end date and time as defined in the project header. It defaults to the moment when TaskJuggler was invoked.
projectstartThe project start date and time as defined in the project header. It defaults to the moment when TaskJuggler was invoked.

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 upper case character so they do not conflict with automatic macros that might be added with later versions of TaskJuggler.