Partager via


SPSystemTime Structure

The SPSystemTime structure provides properties used to define system date and time values.

System.Object

   System.ValueType

      Microsoft.SharePoint.SPSystemTime

Public Constructors

The following table shows the public constructors of the SPSystemTime structure and a brief description of each.

Name Description
SPSystemTime Initializes a new instance of the SPSystemTime structure.

Public Properties

The following table shows the public properties of the SPSystemTime structure, the data type of each property, and a brief description of each.

Name Data Type Description
Day UInt16 Gets or sets the day.
DayOfWeek UInt16 Gets or sets the day of the week.
Hour UInt16 Gets or sets the hour.
Milliseconds UInt16 Gets or sets the milliseconds.
Minute UInt16 Gets or sets the minute.
Month UInt16 Gets or sets the month.
Second UInt16 Gets or sets the second.
Year UInt16 Gets or sets the year.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security