SunriseTime
SunriseTime(Timetime)
Calculates the sunrise time for the date and location of the supplied Time. The method checks the cache prepares Swiss Ephemeris risetransit parameters for the Sun starts the search from local midnight calculates sunrise using the configured geographic coordinates converts the Swiss Ephemeris Julian result back into the original standardtime offset returns the final Time.
Parameters
| Name | Type | Description |
|---|---|---|
time |
Time |
A time containing the date and location for the sunrise calculation. |
Calling this method
Endpoint base: https://api.vedastro.org/api/Calculate/SunriseTime
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…