Help Center

AfxSystemYearfunction

Returns the current system year. The valid values are 1601 through 30827.

DateTimefunctionAfxTime.incdocumented

Syntax

FUNCTION AfxSystemYear () AS WORD

Description

Returns the current system year. The valid values are 1601 through 30827.

Remarks

The system time is expressed in Coordinated Universal Time (UTC).

Reference

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