DATE_YEAR

DATE_YEAR

RETURNS THE CURRENT YEAR

  • Type: System Variable
  • Parameter: 0
  • Group: System

ACTION

The system variable DATE_YEAR returns the current year as number.

SYNTAX: DATE_YEAR in an expression

USE

  • The system variable DATE_YEAR is used to know the current year.

ERROR

  • None.

EXAMPLE

print "current date : "+date$

print "current day : "+str$(date_day)

print "current month : "+str$(date_month)

print "current year : "+str$(date_year)

SEE ALSO

DATE$

DATE_YEAR

DATE_MONTH

DATE_DAY