|
Time.SecondsPerMonth Method
|
Returns the number of seconds in the specified month and year.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic static int SecondsPerMonth(
int year,
int month
)
Public Shared Function SecondsPerMonth (
year As Integer,
month As Integer
) As Integer
public:
static int SecondsPerMonth(
int year,
int month
)
static member SecondsPerMonth :
year : int *
month : int -> int
GSF.Units.Time.SecondsPerMonth = function(year, month);
View SourceParameters
- 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.
ExceptionsException | Condition |
---|
ArgumentOutOfRangeException |
Month is less than 1 or greater than 12. -or- year is less than 1 or greater than 9999.
|
See Also