# Date.yearday ## Function Reads the day of the year that the current Date is. ## Syntax ```bt date_value.yearday() ``` ## Parameters No parameters. ## Return value | Type | Description | | ------ | ------ | | Int | Returns a date number from 1 to 366. | ## Code Example ```bt result = date('2026-01-01 00:00:00').yearday() // Output: 1 ``` ## Notes - Read date in local time zone.