[dm+]/[dm-] Days into the month/Days left in the month

Navigation:  Tokens > Day Tokens >

[dm+]/[dm-] Days into the month/Days left in the month

Previous pageReturn to chapter overviewNext page

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 updated on 20-Apr-2019.
Topic URL: https://www.qppstudio.net/webhelp_xe3/index.html?dd-daysintothemont.htm