Help Center

CPowerTime.DaysInYearmethod

Returns the number of days of the year.

DateTimemethoddocumented

Syntax

FUNCTION DaysInYear (BYVAL nYear AS LONG = 0) AS LONG

Parameters

NameDescription
nYearA four digit year.

Description

Returns the number of days in the specified year. If the year is omitted, the year of this CPowerTime object is assumed.

Reference

  • Defined in AfxNova/CPowerTime.inc:900
  • Documented in DateTime/CPowerTime Class.md
  • Topic: CPowerTime Class