Gets the current date and time.
The following tables list the members exposed by Time.
Public Constructors
Public Properties
| Name | Description | |
|---|---|---|
|
BuildEngine | Gets or sets the instance of the |
|
DateTimeValue | Gets the internal time value. |
|
Day | Gets the day of the month represented by this instance. |
|
DayOfWeek | Gets the day of the week represented by this instance. |
|
DayOfYear | Gets the day of the year represented by this instance. |
|
Format | Gets or sets the format string for output parameter |
|
FormattedTime | Gets the value of this instance to its equivalent string representation. If input parameter |
|
HostObject | Gets or sets the host object associated with the task. (inherited from Task) |
|
Hour | Gets the hour component of the date represented by this instance. |
|
Kind | Gets or sets a value that indicates whether the time represented by this instance is based on local time, Coordinated Universal Time (UTC), or neither. |
|
Log | Gets an instance of a |
|
LongDate | Gets the value of this instance to its equivalent long date string representation. |
|
LongTime | Gets the value of this instance to its equivalent long time string representation. |
|
Millisecond | Gets the milliseconds component of the date represented by this instance. |
|
Minute | Gets the minute component of the date represented by this instance. |
|
Month | Gets the month component of the date represented by this instance. |
|
Second | Gets the seconds component of the date represented by this instance. |
|
ShortDate | Gets the value of this instance to its equivalent short date string representation. |
|
ShortTime | Gets the value of this instance to its equivalent short time string representation. |
|
Ticks | Gets the number of ticks that represent the date and time of this instance. |
|
TimeOfDay | Gets the time of day for this instance. |
|
Year | Gets the year component of the date represented by this instance. |
Protected Properties
| Name | Description | |
|---|---|---|
|
HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (inherited from Task) |
|
TaskResources | Gets or sets the culture-specific resources associated with the task. (inherited from Task) |
Public Methods
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified |
|
Execute | Overidden. When overridden in a derived class, executes the task. |
|
GetHashCode | Serves as a hash function for a particular type. |
|
GetType | Gets the |
|
ToString | Returns a |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
MemberwiseClone | Creates a shallow copy of the current |
See Also
Documentation version 1.0.0.0.