Click or drag to resize

DateTimeOffsetHelperUtcMillis Method

Gets the number of milliseconds needed to represent the datetime.

Namespace:  com.espertech.esper.compat
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static long UtcMillis(
	this DateTimeOffset dateTime
)

Parameters

dateTime
Type: SystemDateTimeOffset

[Missing <param name="dateTime"/> documentation for "M:com.espertech.esper.compat.DateTimeOffsetHelper.UtcMillis(System.DateTimeOffset)"]

Return Value

Type: Int64

[Missing <returns> documentation for "M:com.espertech.esper.compat.DateTimeOffsetHelper.UtcMillis(System.DateTimeOffset)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DateTimeOffset. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also