CPowerTime.AddHoursmethod
Adds the specified number of hours to this **CPowerTime** object. You can subtract hours by using a negative number.
Syntax
PRIVATE SUB CPowerTime.AddHours (BYVAL nHours AS LONG)
Parameters
| Name | Description | |
|---|---|---|
nHours | The number of hours. |
Description
Adds the specified number of hours to this CPowerTime object. You can subtract hours by using a negative number.
Example
AddHours (BYVAL nHours AS LONG)
Reference
- Defined in AfxNova/CPowerTime.inc:556
- Documented in DateTime/CPowerTime Class.md
- Topic: CPowerTime Class