Table of Contents

Class Date

Namespace
MongoDB.Entities
Assembly
MongoDB.Entities.dll

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

dateTime DateTime

the DateTime

Date(long)

instantiate a Date with ticks

public Date(long ticks)

Parameters

ticks long

the ticks

Properties

DateTime

public DateTime DateTime { get; set; }

Property Value

DateTime

Ticks

public long Ticks { get; set; }

Property Value

long

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.