There are a number of predefined variables in the expression language. The following list all of the available variables:
LOGIN - the login of the current user
PROJECT - code of the current project
(v2.6.0+)
TODAY - the current day at midnight (12:00am)
NOW - the current day and time
NEXT_DAY - the next day from today (tomorrow)
NEXT_MONDAY - the next Monday from today
NEXT_TUEDAY - the next Tuesday from today
NEXT_WEDNESDAY - the next Wednesday from today
NEXT_THURSDAY - the next Thursday from today
NEXT_FRIDAY - the next Friday from today
NEXT_SATURDAY - the next Saturday from today
NEXT_SUNDAY - the next Sunday from today
PREV_DAY - the previous day from today (yesterday)
PREV_MONDAY - the previous Monday from today
PREV_TUESDAY - the previous Tuesday from today
PREV_WEDNESDAY - the previous Wednesday from today
PREV_THURSDAY - the previous Thursday from today
PREV_FRIDAY - the previous Friday from today
PREV_SATURDAY - the previous Saturday from today
PREV_SUNDAY - the previous Sunday from today
THIS_YEAR - the first day of this year at midnight (12:00am)
NEXT_YEAR - the first day of next year at midnight (12:00am)
PREV_YEAR - the first day of the previous year at midnight (12:00am)
THIS_MONTH - the first day of this month at midnight (12:00am)
NEXT_MONTH - the first day of next month at midnight (12:00am)
PREV_MONTH - the first day of the previous month at midnight (12:00am)
THIS_HOUR - this hour at 0 minutes
NEXT_HOUR - the next hour at 0 minutes
PREV_HOUR - the previous hour at 0 minutes
NEXT_HOUR - the next hour at 0 seconds
PREV_HOUR - the previous hour at 0 seconds
These variables can be used for to refer to state information in searches. This expression will retrieve all the login information for the current user.
They can also be used to find items between certain dates. This expression will retrieve all snapshots for this week starting at Sunday.
The following variables are only used in Naming. Refer to the file naming section for details.
EXT - file extension
BASEFILE - the filename portion of the file without the extension