You are here

function date_unix_year in Date 5

1 call to date_unix_year()
date_is_valid in ./date.inc
Functions to test the validity of various date parts

File

./date.inc, line 1494
Date/time API functions

Code

function date_unix_year($unix) {
  return (int) date_gmdate('Y', $unix);
}