Compartir a través de


DateTime Constructor (Int64)

Initializes a new instance of the DateTime structure and sets it to the specified number of ticks.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public DateTime (
         longticks
)

Parameters

  • ticks
    A date and time expressed in ticks (100-nanosecond units).

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

DateTime Structure
DateTime Members
System Namespace