CPowerTime.AddYearsmethod
Adds the specified number of years to this **CPowerTime** object. You can subtract years by using a negative number.
Syntax
SUB AddYears (BYVAL nYears AS LONG)
Parameters
| Name | Description | |
|---|---|---|
nYears | The number of years. |
Description
Adds the specified number of years to this CPowerTime object. You can subtract years by using a negative number.
Reference
- Defined in AfxNova/CPowerTime.inc:507
- Documented in DateTime/CPowerTime Class.md
- Topic: CPowerTime Class