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 Month
AI-generatedOverview
The "Get Month" operation under the "Date and Time" resource in this node extracts month-related information from a given date or year input. This utility is useful when you need to determine the month component from a full date string or just a year, for example, to categorize data by month, generate monthly reports, or trigger workflows based on month-specific conditions.
Practical examples include:
- Extracting the month number or name from a user-provided date like "2023-01-01".
- Getting month details for a specific year input to support calendar-based automation.
- Using the month information to filter or route data in subsequent workflow steps.
Properties
| Name | Meaning |
|---|---|
| Date | The full date string to extract month information from. Example format: "2023-01-01". |
| Year | The year string to get month information for. Example format: "2023". |
Output
The node outputs JSON data containing the month information derived from the provided inputs. The exact structure of the output JSON is not explicitly detailed in the source code snippet, but it typically includes fields representing the month number or name corresponding to the input date or year.
No binary data output is indicated for this operation.
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/monthwith the input parameters in the request body. - Proper configuration of the API key credential within n8n is necessary for successful execution.
Troubleshooting
- Empty or invalid date/year input: Ensure that the "Date" or "Year" property is correctly formatted (e.g., "YYYY-MM-DD" for date). Invalid formats may cause errors or unexpected results.
- Authentication errors: Verify that the API key credential is correctly set up and has the required permissions.
- Network or API errors: Check network connectivity and the availability of the external API service.
- Missing required properties: Both "Date" and "Year" are optional individually, but at least one should be provided to get meaningful month information.
Links and References
- No direct links are provided in the source code. For more information, consult the documentation of the external API service at
https://prod.0codekit.comif available.