cornishninja
cornishninja

Reputation: 553

Need a snippet to output long date with date ordinals in TextExpander

I use TextExpander on Windows and have googled for an solution to my problem. All the solutions I've seen so far are written in AppleScript which doesn't work on Windows.

The format I need looks like this:

and so on. Notice the parts in bold.

I've tried using the date/time tools included with TextExpander but the st, nd, rd and th ordinals are not included.

I don't know any scripting at all. Is there a script for this long date format that will work on Windows?

Upvotes: -1

Views: 201

Answers (1)

Frankenpaper
Frankenpaper

Reputation: 53

If you leave out the conditional "st", "nd", "rd", or "th" after the date, then:

%A, %d %B %Y

In this example I made the Day of the week bold to demonstrate how the result will show up bold as well. Of course it is only an option.

If you do want the extra suffix with nothing bold, then:

%A, %d%fillpopup:name=Suffix:default=:st:nd:rd:th% %B %Y

I Hope this helps!

Upvotes: 0

Related Questions