PaulStoffregen / Time

Time library for Arduino
http://playground.arduino.cc/code/time
1.24k stars 664 forks source link

[Feature Request] yearday() #152

Open cornfeedhobo opened 3 years ago

cornfeedhobo commented 3 years ago

Description

I would like yearday() functions to get the day of the year, similar to weekday().

Steps To Reproduce Problem

1) Look for a way to get the day of the year

1) Cry

programminghoch10 commented 3 years ago

day() gives you a value of 1-31, which is the day of the month...

cornfeedhobo commented 3 years ago

Whoops! Typo - I meant yearday :sweat_smile: