Click or drag to resize

MathUtilIsDaytime Method

Verizon Connect Logo
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.98.0.0
Syntax
public static bool IsDaytime(
	LatLon ll,
	DateTime dt
)

Parameters

ll
Type: Telogis.GeoBaseLatLon
The latitude and longitude of the location.
dt
Type: SystemDateTime
The date time to check.

Return Value

Type: Boolean
If the date time falls between sunrise and sunset, the value is true, otherwise false.
See Also