Skip to content

HomeOther

AliveRegistry

Date Math Calculator

com.apished/date-math-calculator

Date arithmetic: day differences, business days, age, leap years, day-of-week, add/subtract.

This endpoint completed initialize and tools/list. No tool was called.

Rank
#1479
Score
82
Tool tokens
674
Tools
6

Tools

Token cost is the o200k count of the tools list JSON, including schemas, before any tool is called.

  • datemath_add

    Adds years/months/days to date. years/months are applied together with end-of-month clamping — e.g. 2026-01-31 + 1 month = 2026-02-28, not an overflowed 2026-03-03. days is then applied as plain calen

  • datemath_age

    Age in whole years as of asOf (optional, defaults to the current UTC date). A Feb-29 birthDate is treated as falling on March 1 in a non-leap asOf year.

  • datemath_businessdays

    Counts days in [from, to] (inclusive on both ends) whose weekday is in weekdays (default mon-fri) and which aren't in holidays.

  • datemath_dayofweek

    Day of the week for date: both the weekday name and its ISO 8601 weekday number (1=Monday..7=Sunday).

  • datemath_diff

    Day difference between two YYYY-MM-DD dates: to minus from, in whole days. Negative if to is before from.

  • datemath_leapyear

    Checks whether year is a leap year in the Gregorian calendar.

Nearby in Other

#13
4grand

Free fantasy pools for the four tennis Grand Slams. What play for love means, and who is winning.

Alive
score
83
#14
53ON

Directory and marketplace of local businesses and independent professionals near you.

Alive
score
83
#18
adsbiq

Read-only access to live ADSBiq aircraft and network state, with community contribution metadata.

Alive
score
83