Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

Snippets in CFEclipse

Snippets in CFEclipse (or any IDE) are just a handy feature. But whats even better are the snippet variables. These are a pre-set, built-in list of system available variables available to the snippet.

view plain print about
1$${DATE}
2$${MONTH}
3$${TIME}
4$${DATETIME}
5$${DAYOFWEEK}
6$${CURRENTFILE} - Current file name (just the file)
7$${CURRENTFOLDER} - Current folder (The path to the containing folder)
8$${CURRENTPATH} - Current path (full file name)
9$${CURRENTPRJPATH} - Just the folder
10$${USERNAME} - Current user
11$${MONTHNUMBER} - Month as a number
12$${DAYOFMONTH} - Day of month as a number
13$${DAYOFWEEKNUMBER} - Day of week (the week starts on Sunday)
14$${DATETIME24} - DateTime24 - a 24 hour clock version of datetime.
15$${YEAR} - Current year.
16$${YEAR2DIGIT} - Current two digit year.

If you've only just started using CFE, or snippets check out the CFEclipse.org site for more information.

Comments Comments (0) | Print Print | Send Send | 3529 Views

If you like what you see on the website and/or this post has helped you out in some way please consider donating to help keep me in beer vodka. The donations are made through Paypal, which accepts almost any credit card or eCheck.

Related Blog Entries
(Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .