Mono Class Library: System.DateTime Overview | Members

System.DateTime Constructor

Constructs and initializes a new instance of the DateTime structure with the date and time expressed in 100-nanosecond units.

public DateTime (long ticks)

Parameters

ticks
A longcontaining the date and time expressed in 100-nanosecond units.

Exceptions

TypeReason
ArgumentOutOfRangeExceptionThe date and time represented by ticks is less than DateTime.MinValue or greater than DateTime.MaxValue.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0