- DATA
- LOGIC
- INPUT
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How do I get the number of nights from check-in and check-out dates?
Give your agent the check-in and check-out dates in a chat. It uses the calculate_stay_nights tool to return the precise night count. You'll see the exact duration immediately.
The outcomes
Where the data lands.
This is what happens when you run the task.
DATA
Exact night counts
Your agent runs the calculation and gives you the specific number of nights. You get a clean integer for your records.
LOGIC
Date range validation
The tool processes the check-in and check-out range. It ensures the math is correct based on the dates you provided.
INPUT
Natural language parsing
You don't need to format dates perfectly. Your agent interprets your text and extracts the necessary date range for the tool.
HUMAN
Manual verification
Your agent provides the result, but you decide if that number fits your specific booking or scheduling needs.
The workflow
What your agent does when the dates arrive.
Your agent takes your text and turns it into a precise calculation.
Extract dates
Your agent reads your message to find the check-in and check-out dates you mentioned.
calculate_stay_nightsRun calculation
Your agent passes those specific dates into the calculation tool to find the difference.
calculate_stay_nightsFormat result
Your agent takes the raw number from the tool and presents it clearly in your chat window.
calculate_stay_nightsConfirm duration
You review the final night count to ensure it matches your intended stay.
calculate_stay_nights
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute Trip Night Counter tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Use these prompts to trigger the calculation immediately.
Starting points
These are basic ways to start. Swap out the dates or locations with your own details.
Trip Night Counter Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_jE2wClEAlkWwZHtblHeMU4qEympD8AEBAHmJR202/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, Trip Night Counter capabilities are ready to use.
{
"mcpServers": {
"trip-night-counter-mcp": {
"url": "https://edge.vinkius.com/vk_preview_jE2wClEAlkWwZHtblHeMU4qEympD8AEBAHmJR202/mcp"
}
}
}- 01
Calculate the stay duration for a guest checking in on June 12 and checking out on June 18.
- 02
How many nights is a stay from October 1st to October 15th?
- 03
Find the number of nights between these dates: 2024-12-24 and 2025-01-02.
- 04
Check the stay length for the booking starting next Monday and ending next Friday.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Trip Night Counter once, then ask.
Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start using the tools right away.
Connect Trip Night Counter to your agentFAQ
How this task behaves
- 01
Can your agent change my booking dates?
No. The tool only calculates the number of nights based on the dates you provide.
- 02
Does your agent handle time zones?
The tool calculates the difference between calendar dates. It does not adjust for time zone shifts.
- 03
Can I use this with Claude?
Yes, as long as you are using an MCP-compatible client like Claude Desktop.
- 04
Will your agent delete my existing spreadsheets?
No. This tool only reads dates to perform a calculation; it has no permission to delete or modify your files.
- 05
Does it work with any date format?
Your agent is good at parsing natural language, but providing clear dates helps ensure accuracy.
More questions about Trip Night Counter? The Connector page answers them. See everything the Trip Night Counter Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Trip Night Counter to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
Trip Night Counter plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect Trip Night Counter to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









