MathUtilIsDaytime Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Indicates whether a specified date time falls between sunrise and sunset at a specified location.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static bool IsDaytime(
LatLon ll,
DateTime dt
)
Public Shared Function IsDaytime (
ll As LatLon,
dt As DateTime
) As Boolean
Parameters
- ll
- Type: Telogis.GeoBaseLatLon
The latitude and longitude of the location. - dt
- Type: SystemDateTime
The date time to check.
Return Value
Type:
BooleanIf the date time falls between sunrise and sunset, the value is
true, otherwise
false.
See Also