Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Date & Time → Detail Period
AI-generatedOverview
This node operation calculates a detailed period based on a given start date and a specified duration. It is useful for workflows that require date range calculations, such as scheduling, reporting, or time-based data segmentation. For example, it can be used to generate a list of dates or periods starting from a specific date and extending for a certain number of days, weeks, or months.
Use Case Examples
- Generating a list of dates for a project timeline starting from a given start date and lasting for a specified duration.
- Calculating billing periods or subscription durations based on a start date and duration.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Allows adding multiple code variables with names and values to be used in the code editor for the selected function. |
| Start Date | The start date from which to calculate the detailed period. |
| Duration | The length of the period to calculate starting from the start date. |
Output
JSON
detailPeriod- The calculated detailed period based on the start date and duration.
Dependencies
- An API key credential for the CodeKit API is required to perform the operation.
Troubleshooting
- Ensure the start date is provided in a valid date string format to avoid errors.
- Duration must be a positive number; negative or zero values may cause unexpected results.
- If the API request fails, check the API key credential and network connectivity.