![]() |
This function works from a supplied date and returns the date suitable for greater than or equal according to the number of months or years supplied. 0 months = current month, so the date will be the 1st of the month. 0 years = current year, so the date will be the 1st of January.
| pDate | The date to calculate from |
| pNum | The number of units to work back from |
| pType | M for months, Y for years |
| Returns | The appropriate start date |