# GetYearFromUnix

## Description

Returns the year of a given unix time value. Unix time is represented as the number of seconds since the 1st Jan 1970, it may also be negative. If not using 64 bit values then the unix time value is limited to 1901 to 2038 for the year.

## Definition

integer GetYearFromUnix( unixtime )

int agk::GetYearFromUnix( int unixtime )

## Parameters

- unixtime - A unix time value.