day of year
This function returns the day of year. 0 is returned if the input value contains no recognizable date.
Indirect parameter passing is disabled
1
No. | Type | Description |
---|---|---|
1 input |
date or string converted to date | Date Value to extract as described above |
Type | Description |
---|---|
numeral | Result Returned value as described above |
echo( day of year( 31.12.2019 ), ", ", day of year( 31.12.2020 ), ", ", day of year( "" ) );
365, 366, 0