Get Month Dates

Returns the start and end dates of the month for the specified year and month.


⬅️INPUT

Parameter

Type

Required

Description

Year

Int32

❌ No

Year (e.g. 2025)

Month

Int32

❌ No

Month number (1–12)


➡️OUTPUT

Parameter

Type

Description

IsGetMonthDatesSuccessful

Boolean

Whether the operation succeeded

GetMonthDatesMessage

String

Operation result message

MonthStartDate

DateTime

First day of the month

MonthEndDate

DateTime

Last day of the month


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Whether to throw an exception on error