A structure (similiar to the DateTime structure) that is used for
performing calculations of the differences it time between various
time zones. This is the equivalent of the SYSTEMTIME structure
in the Windows API.
| C# |
public struct SystemTime
| All Members | Methods | Properties | Fields | ||
| Icon | Member | Description |
|---|---|---|
| Day | ||
| DayOfWeek | ||
| Equality(SystemTime, SystemTime) | ||
| Equals(Object) | (Overrides ValueType.Equals(Object).) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FromDateTime(DateTime) |
Converts a System.DateTime structure to a SystemTime structure
| |
| GetHashCode()()() | (Overrides ValueType.GetHashCode()()().) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Hour | ||
| Inequality(SystemTime, SystemTime) | ||
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Millisecond | ||
| Minute | ||
| Month | ||
| Now |
Get the current time in local format
| |
| Second | ||
| ToDateTime()()() |
Converts the SystemTime structure to a System.DateTime structure
| |
| ToDateTime(SystemTime) |
Converts a SystemTime structure to a System.DateTime structure
| |
| ToString()()() | (Overrides ValueType.ToString()()().) | |
| UtcNow |
Get the current time in Utc Format
| |
| Year |