Regional calendar: convert a Gregorian date
astroway_vedic_calendar_regional_dateConverts a Gregorian date and place into the regional Vedic calendar date for Tamil, Malayalam, Bengali, Gujarati, or Marathi, returning month, tithi, era year, and civil-day boundaries.
Instructions
One Gregorian date in a regional calendar at the place. Solar calendars (tamil, malayalam, bengali): month, its number, day of the month and the era year. Lunisolar (gujarati, marathi): amanta month, the tithi at local sunrise with its paksha (Sud and Vad for Gujarati), adhika flag and the era year. Each answer carries the month's first and last civil day and the rule used.
[Group: Vedic] [Endpoint: POST /v1/vedic/calendar/regional/date] [Required: calendar, date, latitude, longitude] [Cost: 20 credits (Tier 2)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Gregorian date, YYYY-MM-DD, local to the place. | |
| ayanamsa | No | Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either. | |
| calendar | Yes | tamil, malayalam, bengali (solar months from the sankranti by each region's rule), gujarati (amanta, Vikram Samvat from Kartika), marathi (amanta, Shaka from Chaitra). | |
| latitude | Yes | Latitude in decimal degrees, north positive. Between -66 and 66: further out the Sun does not rise on some days and a Hindu day has no start. | |
| timezone | No | IANA zone name such as Asia/Kolkata, America/New_York or Europe/Kyiv, or auto (default) to look it up from the coordinates. Resolved day by day: each day is read on the offset that zone kept that day, so summer time is followed. | |
| longitude | Yes | Longitude in decimal degrees, east positive. | |
| ayanamsaId | No | ||
| timezoneOffset | No | A fixed offset in hours instead of a zone, for the whole year. Ignored when timezone is sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | ||
| date | No | ||
| rule | No | ||
| year | No | ||
| month | No | ||
| place | No | ||
| tithi | No | ||
| adhika | No | ||
| calendar | No | ||
| monthEnd | No | ||
| monthStart | No | ||
| monthNumber | No |