Help Center

CPowerTime.AddHoursmethod

Adds the specified number of hours to this **CPowerTime** object. You can subtract hours by using a negative number.

DateTimemethoddocumented

Syntax

PRIVATE SUB CPowerTime.AddHours (BYVAL nHours AS LONG)

Parameters

NameDescription
nHoursThe 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