Help Center

COleDateTimeSpan.GetHoursmethod

Retrieves the hour portion of this date/time-span value.

DateTimemethodCOleDateTime.incdocumented

Syntax

FUNCTION GetHours () AS LONGINT

Description

Retrieves the hour portion of this date/time-span value. The return values from this function range between – 23 and 23.

Reference

  • Include file COleDateTime.inc
  • Defined in AfxNova/COleDateTime.inc:234
  • Documented in DateTime/COleDateTime Class.md
  • Topic: COleDateTime Class