Dates and timing
Calculate contract and expiry dates
Adds a day or month contract period with month-end and business-day policies.
Make it your own
Review the setup and limits below, then open an editable copy in Turbyn.
Use this recipeYour selection stays with you through signup.
What it does
Rejects invalid starts and periods; returns the exact applied rule.
What to customize
Set unit, adjustment, end-of-day, and timezone.
Run the included tests with your configuration and mappings. Review success, missing-input and failure results before publishing.
Expected outcome
This included example runs in dry-run mode with synthetic data. Integration tests separately cover provider responses using test doubles. It is not a live customer result.
Sample input
sample-input.json
{
"inputFields": {
"field1": "2026-01-31",
"field2": "1",
"field3": "{\"unit\":\"months\"}"
}
}Sample output
sample-output.json
{
"outputFields": {
"output1": "2026-02-28",
"output2": "calculated",
"output3": "1 months;businessDayAdjustment=false;timezone=UTC"
}
}Returned fields
- output1
- expiry date or timestamp
- output2
- calculated or reason
- output3
- rule summary
What changes when it runs
Performs local date calculation only.
Ready to try it with your rules?
Map your inputs, test a sample and publish the version you’ve checked.