[YD] - Year Days

01-Sep-2022 · Felix Fung

What is this?

"YD" stands for "Year Days". This payroll variable returns the number of days in the current year. Current Year is determined by the End Date of the Pay Period.

What will the Value be Returned?

Returns the number of days in the year according to the Pay Period End Date.

Usage

Payroll Variable Description Usage
[YD] Returns the number of days in the Current Year Usually as a component to calculate the unit rate
e.g Calculate the year-adjusted daily wages in 2022(Monthly Salary $15,000)
[PR(P1)]*12/[YD]*[PR] for amount set in the Placement profile
=15000*12/365