TextExpander: Date and Time Math
Tuesday, October 28th, 2008Let’s say it’s your job to remind people to do something. Maybe you are the accounts receivable person, and you regularly need to remind people to pay you in 15 days. If you use TextExpander, your days of looking at the calendar and calculating that date are over!
We added date and time math capability to TextExpander 2.5. Now you can create a snippet that automatically inserts a date that is 15 days from today. Here’s how:
1) Create a new snippet by clicking on the plus (+) sign under your list of snippets on the left in the TextExpander Preference pane.
2) Click on the plus (+) sign under the snippet content pane on the right. Choose Date/Time Math > Add Day(s).
3) TextExpander inserts %@+1D into your snippet content pane. Change “1D” to “15D”.
4) Insert the date format you wish to appear, again using the plus (+) sign menu on the right. For example, if you want the date to appear in formatted “October 29, 2008″, insert the following:
- Choose Date > Month > January. Add a space.
- Choose Date > Day > 1. Add a comma and space.
- Choose Date > Year > 2001
5) When you are done, the snippet content should be:
%@+15D%B %e, %Y
6) Give your snippet an abbreviation, such as “d15″ or “payupnow”.

TextExpander 2.5 is a free upgrade to registered users of TextExpander 1.x and earlier. You can download it here. Besides the date/time math, we’ve also added some new built-in snippet groups: Internet Productivity (which includes the AppleScripts we’ve posted here for URL shortening) and Symbols (for those who need to use symbols like copyright, trademark, euro, yen, infinity, etc.).
