Class Date
A custom date/time type for precision datetime handling
Inheritance
Object
Date
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: MongoDB.Entities
Assembly: MongoDB.Entities.dll
Syntax
public class Date
Constructors
Date()
Declaration
public Date()
Date(DateTime)
instantiate a Date with a DateTime
Declaration
public Date(DateTime dateTime)
Parameters
Type | Name | Description |
---|---|---|
DateTime | dateTime | the DateTime |
Date(Int64)
instantiate a Date with ticks
Declaration
public Date(long ticks)
Parameters
Type | Name | Description |
---|---|---|
Int64 | ticks | the ticks |
Properties
DateTime
Declaration
public DateTime DateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Ticks
Declaration
public long Ticks { get; set; }
Property Value
Type | Description |
---|---|
Int64 |