This is the ThingsDB documentation for version v0, click here for the latest version!
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 an event.
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