function date_iso_year in Date 5
4 calls to date_iso_year()
- date_iso2array in ./
date.inc - date_iso2unix in ./
date.inc - date_is_valid in ./
date.inc - Functions to test the validity of various date parts
- date_text2iso in ./
date.inc - Use stringtotime function to create an iso date out of text
File
- ./
date.inc, line 1475 - Date/time API functions
Code
function date_iso_year($iso) {
return (int) substr($iso, 0, 4);
}