"PD" stands for "Period Days". This payroll variable returns the number of days in the Pay Period.
Returns the number of days in the payroll Pay Period. Pay Period means the date range of the Payroll Batch, normally would be the 1st day to the last day of the month.
Hightlight part content can be changed
||Take the number of days within the Pay Period||Usually as a component to calculate the unit rate, e.g Daily Rate of the Basic Salary(Monthly Salary $15,000 in Jun)
= 15000/30 = 500 show as unit rate in Payroll
|M-1||Take the number of days in the Previous Month||
0=Sun, 1=Mon, 2=Tue, 3=Wed, 4=Thur, 5=Fri, 6=Sat
|Take the number of days of the Week within the Pay Period||Take the number of Sundays within the Pay Period
|WEEKDAY||Take the number of Weekdays within the Pay Period||