Dreamweaver CC 2017 Adding dynamic variables to a snippet
In ColdFusion Builder (and other IDEs including DW at one point) there is an ability to use certain "built in" variables in snippets which are translated upon running the snippet. Below is an example of variables (and the syntax). Does DW 2017 have this? If so what is the syntax? This is infinitely useful in creating snippets for sharing with team members.
- $${DATE}
- $${MONTH}
- $${TIME}
- $${DATETIME}
- $${DAYOFWEEK}
- $${CURRENTFILE} - Current file name (just the file)
- $${CURRENTFOLDER} - Current folder (just the folder)
- $${CURRENTPATH} - Current path (full file name)
- $${USERNAME} - Current user
- $${MONTHNUMBER} - Month as a number
- $${DAYOFMONTH} - Day of month as a number
- $${DAYOFWEEKNUMBER} - Day of week (the week starts on Sunday)
- $${DATETIME24} - DateTime24 - a 24 hour clock version of datetime.
- $${YEAR} - Current year.
- $${YEAR2DIGIT} - Current two digit year.
