Grasshopper

algorithmic modeling for Rhino

0 | Ladybug
1 | AnalyzeWeatherData
2 | VisualizeWeatherData
3 | EnvironmentalAnalysis
4 | Renewables
5 | Extra
6 | Developers
7 | WIP

DOY_HOY

Component Index > Ladybug > 5 | Extra > DOY_HOY

Use this component to calculate the day of the year and hour of the year from an input date with a day of the month, month of the year and hour of the day.

Inputs

NameIDDescriptionType
_days__days_A number (or list of numbers) between 1 and 31 that represents the day(s) of the month.Goo
_months__months_A number (or list of numbers) between 1 and 12 that represents the month(s) of the year.Goo
_hours__hours_A number (or list of numbers) between 1 and 24 that represents the hour(s) of the day.Goo

Outputs

NameIDDescriptionType
HOYHOYThe hour of the year on which the input date and time fall.Goo
DOYDOYThe day of the year on which the input date falls.Goo
datedateThe input information written out as a full date and time text string.Goo

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service