Elementium Sign in
Contents

Values · Value

Days in a month

How many days a month has, and whether the year is a leap year. For billing, rotas and monthly resets.

Free plan date.month_length

In a flow

“Works out days in a month whenever a step wired to it needs the answer.”

Feb 2028 → 29 days, leap year

What it does

How many days a month has, and whether the year is a leap year. For billing, rotas and monthly resets. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 4 values later steps can use. Find it under Values in the palette.

When to use it

Use it when a step needs a value worked out first: how many days a month has, and whether the year is a leap year. For billing, rotas and monthly resets.

When not to

For a value that never changes, type it into the setting instead of wiring a node.

Typical wiring

Sockets: settings you can wire

Year Number

Like 2028.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 2028.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Month Number

1 to 12.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 2.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Values it gives

Days Number

Days in that month. e.g. 29

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

Leap year Yes / no

On for a leap year. e.g. on

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more

Last day Text

The last date, like 2028-02-29. e.g. 2028-02-29

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Days in the year Number

365 or 366. e.g. 366

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

Often next

Related in Values

Wires and sockets · Data values · Plans