0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Date & Time → Month

AI-generated

Overview

This node operation extracts or processes information related to the month from a given date input. It supports various input parameters such as date, year, month, date format, output format, and options to return the timestamp or ISO 8601 format. It is useful for workflows that require manipulation or extraction of month-related data from dates, such as generating reports, scheduling tasks, or formatting date outputs.

Use Case Examples

  1. Extract the month from a specific date string to use in a report.
  2. Convert a date to a specific month format for display purposes.
  3. Return the timestamp or ISO 8601 representation of a month for integration with other systems.

Properties

Name Meaning
date Date in the calendar to extract or process the month from.
year Year in the calendar to specify the year context for the month operation.
outputFormat How the data should be returned, specifying the output format of the month data.
dateFormat Format of the date input to correctly parse the date string.
month Month in the calendar to specify or override the month value.
timestamp Whether to return the timestamp representation of the month or not.
iso Whether to return the ISO 8601 format of the month or not.

Output

JSON

  • date - The processed or extracted date value related to the month.
  • dateFormat - The format used for the date input.
  • outputFormat - The format in which the output is returned.
  • month - The month value extracted or processed.
  • year - The year value associated with the month.
  • options
    • timeStamp - Boolean indicating if the timestamp is returned.
    • iso - Boolean indicating if the ISO 8601 format is returned.

Dependencies

  • An API key credential for the CodeKit API is required to authenticate requests.

Troubleshooting

  • Ensure the date input is in the correct format as specified by the dateFormat property to avoid parsing errors.
  • If the API request fails, check the validity and permissions of the API key credential.
  • If the output is not as expected, verify the combination of input properties such as month, year, and outputFormat for correctness.

Discussion