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: (in Version:
public static bool IsDaytime(
	LatLon ll,
	DateTime dt


Type: Telogis.GeoBaseLatLon
The latitude and longitude of the location.
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