[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the number of milliseconds needed to represent the datetime. This is needed to convert from Java datetime granularity (milliseconds) to CLR datetimes.

Namespace: net.esper.compat
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function TimeInMillis ( _
	dateTime As DateTime _
) As Long
C#
public static long TimeInMillis (
	DateTime dateTime
)
Visual C++
public:
static long long TimeInMillis (
	DateTime dateTime
)

Parameters

dateTime
System.DateTime

Return Value