Function get_yearday()

← Back to Module time



Module time → get_yearday()

Description

Get year day value (1 to 365, since January 1st) from the given timestamp

get_yearday(timestamp = now(), utc = false)


Parameters


Return Value


Usage Example

import time
 
get_yearday()
get_yearday(create_datetime(2021, 12, 22))