Please enable JavaScript to view this site.

 

Navigation: Tokens > Day Tokens

Days into the month/Days left in the month

Scroll Prev Up Next More

The day tokens [dm+] and [dm-] display the days into the month, and the days remaining in the month.

 

Assuming that N is the number of days in the current month, then:

 

[dm+]

The numbers of days into the month. Starts at 1 on the first day of the month and finishes at N on the last day of the month.

[dm-]

The numbers of days left in the current month. Starts at N-1 on the first day of the month and finishes at 0 on the last day of the month.

 

Note that the token [dm+] is exactly the same as the [d] day number token. Both can be used interchangeably, but whenever the token [dm-] is used it is best to also use the [dm+] token to give a more symmetric aspect to the token layout.

 


Topic 176935, last updated on 21-Apr-2020