Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Date and Time → Get Detail Period
AI-generatedOverview
The "Get Detail Period" operation under the "Date and Time" resource in this node calculates a detailed period starting from a specified start date and extending for a given number of days. This is useful when you need to generate or analyze a continuous range of dates, such as creating reports over a specific timeframe, scheduling events, or calculating durations between dates.
For example, if you want to get all dates from January 1, 2023, for 30 days, this operation will provide that detailed period.
Properties
| Name | Meaning |
|---|---|
| Start Date | The beginning date of the detail period. Example format: "2023-01-01". |
| Duration (Days) | Number of days the detail period should cover, ranging from 0 to 365 days. |
Output
The output JSON contains the detailed period data calculated based on the input start date and duration. It typically includes an array or list of dates covering the entire period requested.
If the node supports binary data output, it would represent any associated files or attachments related to the date period calculation, but this operation primarily returns JSON data representing the date range.
Dependencies
- Requires an API key credential for authentication with the external service at
https://prod.0codekit.com. - The node sends a POST request to the endpoint
/dateandtime/detailperiodwith the start date and duration in the request body. - No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
- Invalid Date Format: If the start date is not in a recognized format (e.g., "YYYY-MM-DD"), the API may return an error. Ensure the date string is correctly formatted.
- Duration Out of Range: The duration must be between 0 and 365. Values outside this range might cause errors or unexpected results.
- Authentication Errors: Missing or invalid API key credentials will prevent the node from successfully calling the API.
- Network Issues: Connectivity problems to the external API endpoint can cause timeouts or failures.
To resolve these issues:
- Validate input formats before execution.
- Confirm the API key is correctly configured and active.
- Check network connectivity and firewall settings.
Links and References
- 0CodeKit API Documentation (general reference for the API base URL)
- Standard ISO 8601 date format guidelines for input date formatting.