Rabbinatix
Sign inGet started
Store

Days until due

FreeLogic
@rabbinatix/days-until-due by Rabbinatixupdated Oct 4, 2026

Days left until a due date, and whether it is upcoming, due today or overdue.

Sign in to add

Time Between is negative once the due date has passed.

Shows: Time Between in days, Less Than, Equals, nested Select.

How to use it

Add it to your logic, then add a Call Function step in any logic and pick Days until due. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.

Inputs
dueDate: Text
today: Text
Outputs
days: Whole number
status: Text
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 3 outputs. step 1 of 7
Days until due
dueDate
today
Time Between, Date and time. 3 inputs, 1 output. step 2 of 7
Time Between
from
to
unit
result
Less Than, Operators. 2 inputs, 1 output. step 3 of 7
<
A
B
result
Equals, Operators. 2 inputs, 1 output. step 4 of 7
==
A
B
result
Select, Data. 3 inputs, 1 output. step 5 of 7
Select
condition
if true
if false
value
Select, Data. 3 inputs, 1 output. step 6 of 7
Select
condition
if true
if false
value
Return, Input / output. 3 inputs, 0 outputs. step 7 of 7
Return
days
status

Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.

100%
Examplesrun live against the logic · 3/3 pass
PassedExampleInputOutput
Upcoming{"dueDate":"2026-10-14","today":"2026-10-04"}{"days":10,"status":"upcoming"}
Today{"dueDate":"2026-10-04","today":"2026-10-04"}{"days":0,"status":"due today"}
Overdue{"dueDate":"2026-09-30","today":"2026-10-04"}{"days":-4,"status":"overdue"}
Try it
Versions
In this package
Days until due (entry)