TimeSecondsPerMonth Method

Returns the number of seconds in the specified month and year.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.186 -- Release Build+f3c68cd1a13b4f341e0d0fc1ddec1eb68d3eeb61
public static int SecondsPerMonth(
	int year,
	int month
)

Parameters

year  Int32
The year.
month  Int32
The month (a number ranging from 1 to 12).

Return Value

Int32
The number of seconds, as a Time, in the month for the specified year.

Exceptions

ArgumentOutOfRangeException Month is less than 1 or greater than 12. -or- year is less than 1 or greater than 9999.

See Also