Models slip on date math, weekdays, and business days; this computes them exactly, holidays included.
Date and time arithmetic: duration between two dates, add or subtract intervals, day-of-week and calendar facts, and business-day counts (optionally excluding a country's public holidays). Dates default to today, and all of it is computed locally.
End date or datetime (YYYY-MM-DD or ISO 8601). Defaults to today.
Start date or datetime (YYYY-MM-DD or ISO 8601).
curl -X POST "https://skill.askfaro.com/skills/datetime/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "How many days between 2026-01-01 and 2026-12-25?"
}
}'askfaro describe datetime/datetime.diff
Install pip install askfaro-cli, then askfaro auth login.
Date or datetime (YYYY-MM-DD or ISO 8601). Defaults to today.
curl -X POST "https://skill.askfaro.com/skills/datetime/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "What day of the week is 2026-12-25?"
}
}'askfaro describe datetime/datetime.weekday
Install pip install askfaro-cli, then askfaro auth login.
Count business days between two dates, optionally excluding a country's public holidays.
End date (YYYY-MM-DD or ISO 8601). Defaults to today.
Start date (YYYY-MM-DD or ISO 8601).
Optional ISO 3166-1 alpha-2 country code to exclude public holidays (e.g. US, DE).
Optional ISO 3166-2 subdivision code for regional holidays (e.g. CA, NSW).
curl -X POST "https://skill.askfaro.com/skills/datetime/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "How many business days between 2026-06-01 and 2026-06-30?"
}
}'askfaro describe datetime/datetime.business_days
Install pip install askfaro-cli, then askfaro auth login.
Base date or datetime (YYYY-MM-DD or ISO 8601). Defaults to today.
Days to add (negative to subtract).
Hours to add (negative to subtract).
Weeks to add (negative to subtract).
Years to add (negative to subtract).
Months to add (negative to subtract).
Minutes to add (negative to subtract).
Seconds to add (negative to subtract).
curl -X POST "https://skill.askfaro.com/skills/datetime/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "What date is 90 days from today?"
}
}'askfaro describe datetime/datetime.add
Install pip install askfaro-cli, then askfaro auth login.