Automatic Ordinals?
Posted: 2021-03-24 10:44:42
So I frequently use a custom time string in my documents:
"Dated this 3rd day of March, 2021". It's tedious, of course, to type that in every time, and luckily Nisus has a custom date/time format in the Insert menu. Questions, though: can I save my custom automatic date/time command so it can be easily found and used? I.e. add it to the menu somehow? Second, how can I get ordinals, i.e the "rd" or "th" or "st" part of the custom day? Is it possible? More generally, can Nisus handle automatic ordinals for dates? I'd love to have text that automatically applied the correct ordinal somehow. I suspect with the macro language something might be done, but it seems a bit tricky: ordinals are a specialized use, and not every number should be transformed into an ordinal.
Thoughts?
"Dated this 3rd day of March, 2021". It's tedious, of course, to type that in every time, and luckily Nisus has a custom date/time format in the Insert menu. Questions, though: can I save my custom automatic date/time command so it can be easily found and used? I.e. add it to the menu somehow? Second, how can I get ordinals, i.e the "rd" or "th" or "st" part of the custom day? Is it possible? More generally, can Nisus handle automatic ordinals for dates? I'd love to have text that automatically applied the correct ordinal somehow. I suspect with the macro language something might be done, but it seems a bit tricky: ordinals are a specialized use, and not every number should be transformed into an ordinal.
Thoughts?