Class Date
A custom date/time type for precision datetime handling
public class Date
- Inheritance
-
Date
- Inherited Members
Constructors
Date()
public Date()
Date(DateTime)
instantiate a Date with a DateTime
public Date(DateTime dateTime)
Parameters
dateTimeDateTimethe DateTime
Date(long)
instantiate a Date with ticks
public Date(long ticks)
Parameters
tickslongthe ticks
Properties
DateTime
public DateTime DateTime { get; set; }
Property Value
Ticks
public long Ticks { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.