SP.Utilities.DateUtility Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.Utilities.DateUtility class.

Methods

Name

Description

dateToJulianDay

Gets the number of days since January 1, 1601 for the specified date.

DateUtility

Initializes a new instance of the DateUtility class.

daysInMonth

Gets the number of days in the specified month in the specified year.

isLeapYear

Determines whether the specified year is a leap year.

julianDayToDate

Converts the specified Julian date to a Gregorian date.

Applies To

SP.Utilities.DateUtility Class

See Also

Reference

SP.Utilities Namespace