Click or drag to resize

TimeSecondsPerMonth Method

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

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntax
public static int SecondsPerMonth(
	int year,
	int month
)
View Source

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
ExceptionCondition
ArgumentOutOfRangeException Month is less than 1 or greater than 12. -or- year is less than 1 or greater than 9999.
See Also