LunarMonth
LunarMonth(TimeinputTime,boolignoreLeapMonth)
Calculates the bcurrent lunar monthb using New Moon boundaries and the sign of the SunMoon conjunction. The method 1. starts from the sunrise of the given date 2. finds the previous and next New Moon 3. determines the relevant month sign 4. detects whether the month is a leap month cAdhikac 5. returns the corresponding cLunarMonthc enum value.
Parameters
| Name | Type | Description |
|---|---|---|
inputTime |
Time |
The time for which the lunar month should be determined. |
ignoreLeapMonth |
Boolean |
When ctruec skips the extra recursive leapmonth verification step. |
Calling this method
Endpoint base: https://api.vedastro.org/api/Calculate/LunarMonth
Most Calculate methods accept parameters either as URL path segments (GET) or as a JSON body (POST), keyed by parameter name. The exact request shape varies per method — see the Getting Started guide for the response envelope, StdTime format, and Ayanamsa conventions that apply across the API. Use the "Try it" panel below to build and send a real request and see the exact call this method expects.
Loading try-it widget…