Help Center

AfxWeekOnefunction

Returns the first day of the first week of a year. The year must be a 4 digit year.

DateTimefunctionAfxTime.incdocumented

Syntax

FUNCTION AfxWeekOne (BYVAL nYear AS LONG) AS LONG

Parameters

NameDescription
nYearA four digit year.

Description

Returns the first day of the first week of a year. The year must be a 4 digit year.

Reference

  • Include file AfxTime.inc
  • Defined in AfxNova/AfxTime.inc:471
  • Documented in DateTime/DateTime Procedures.md
  • Topic: Date and Time Procedures