How to convert date into day of the year

i want to convert the date into day of the year , for example my date format is dd-MM-yyyy , if the date is 11-11-2023 then day of the year is 315 , if the date is 12-11-2023 then day of the year is 316

2023-11-11 - 16-15-43 - Niotron

@riadaska
date_to_day_of_the_year.aia (3.2 KB)

You are not using Kodular, next time post in that community. A good way to debug your blocks is by using Do it and then you will be able to find the solution. Also have a look in [Guide] How to use the CLOCK

1 Like

thank you very much