Share via


SYSTEMTIME Members

Include Protected Members
Include Inherited Members

Represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.

The SYSTEMTIME type exposes the following members.

Methods

 

Name

Description

Public method

Equals

Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns the hash code for this instance. (Inherited from ValueType.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

 

Name

Description

Public field

wDay

Specifies the current day of the month.

Public field

wDayOfWeek

Specifies the current day of the week; Sunday = 0, Monday = 1, and so on.

Public field

wHour

Specifies the current hour.

Public field

wMilliseconds

Specifies the current millisecond.

Public field

wMinute

Specifies the current minute.

Public field

wMonth

Specifies the current month.

Public field

wSecond

Specifies the current second.

Public field

wYear

Specifies the current year. The year must be greater than 1601.

Top

See Also

Reference

SYSTEMTIME Structure

Microsoft.VisualStudio.Shell.Interop Namespace