Return the day in the year as an integer value between 0..365
where the first of January is day 0
.
This function does not generate a change.
datetime.yday()
None
Returns the day in the year as a number between 0
and 365
.
This code uses
yday()
as an example:
datetime(2020, 12, 10).yday();
Return value in JSON format
344