Timestamp Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents Timestamp containing year, month, day, hour, minute, second, microsecond in Coordinated Universal Time (UTC).
public class Timestamp
type Timestamp = class
Public Class Timestamp
- Inheritance
-
Timestamp
Constructors
Timestamp(DateTime) |
Constructor for Timestamp class. |
Timestamp(Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Constructor for Timestamp class, the defaut timezone is Coordinated Universal Time (UTC). |
Properties
Day |
Returns the day component of the timestamp. |
Hour |
Returns the hour component of the timestamp. |
Microsecond |
Returns the microsecond component of the timestamp. |
Minute |
Returns the minute component of the timestamp. |
Month |
Returns the month component of the timestamp. |
Second |
Returns the second component of the timestamp. |
Year |
Returns the year component of the timestamp. |
Methods
Equals(Object) |
Checks if the given object is same as the current object. |
GetHashCode() |
Returns the hash code of the current object. |
ToDateTime() |
Returns DateTime object describing this type. |
ToString() |
Readable string representation for this type. |