Weekday name
FreeLogic@rabbinatix/weekday-name by Rabbinatixupdated Oct 4, 2026
The English name of weekday 1 (Monday) to 7 (Sunday).
Seven Value nodes go into Make Array, and Get Item picks one (positions count from 0). Pairs with Date Parts, whose weekday uses the same numbers.
Shows: Value (constants), Make Array, Get Item.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Weekday name. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
weekday: Whole number
Outputs
name: Text (may be empty)
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 12
Weekday name
weekday
Value, Data. 0 inputs, 1 output. step 2 of 12
string: "Monday"
value
Value, Data. 0 inputs, 1 output. step 3 of 12
string: "Tuesday"
value
Value, Data. 0 inputs, 1 output. step 4 of 12
string: "Wednesday"
value
Value, Data. 0 inputs, 1 output. step 5 of 12
string: "Thursday"
value
Value, Data. 0 inputs, 1 output. step 6 of 12
string: "Friday"
value
Value, Data. 0 inputs, 1 output. step 7 of 12
string: "Saturday"
value
Value, Data. 0 inputs, 1 output. step 8 of 12
string: "Sunday"
value
Make Array, Data. 7 inputs, 1 output. step 9 of 12
Make Array
[0]
[1]
[2]
[3]
[4]
[5]
[6]
array
Subtract, Operators. 2 inputs, 1 output. step 10 of 12
-
A
B
result
Get Item, Collection. 2 inputs, 1 output. step 11 of 12
Get Item
array
index
item
Return, Input / output. 2 inputs, 0 outputs. step 12 of 12
Return
name
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 3/3 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Monday | {"weekday":1} | {"name":"Monday"} | |
| Sunday | {"weekday":7} | {"name":"Sunday"} | |
| Out of range | {"weekday":9} | {"name":null} |
Try it
Versions
In this package
Weekday name (entry)
