GETDAYSINMONTH

GETDAYSINMONTH returns the number of days in the month of the given year.
Edited By: Ayush

Use Cases - When to use this command

Description

GETDAYSINMONTH calculates the total number of days based on given month and year stores that value in another variable.

Guidelines for Usage:

How to use this command

GETDAYSINMONTH command is for node level operations. It can be used in any node as an instruction, except for the root node. It should not be used on the Arrows.

Let's take an example: GETDAYSINMONTH 12 2023 $days_count
Here, the value of $days_count will be 31. This command will calculate the number of days in the 12th month of 2023 and store the result in $days_count.
If you had tree variables "$month" which was previously initialized to 12 and "$year" which was previously initialized to 2023, the above command could have also been GETDAYSINMONTH $month $year $days_count

Examples

Simulated Metadata Editor
processing icon
Analytics API Call Body
Analytics API Response Body