 | DateTimeHelperUtcMillis Method |
Gets the number of milliseconds needed to represent
the datetime. This is needed to convert from Java
datetime granularity (milliseconds) to CLR datetimes.
Namespace:
com.espertech.esper.compat
Assembly:
NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntaxpublic static long UtcMillis(
this DateTime dateTime
)
Parameters
- dateTime
- Type: SystemDateTime
[Missing <param name="dateTime"/> documentation for "M:com.espertech.esper.compat.DateTimeHelper.UtcMillis(System.DateTime)"]
Return Value
Type:
Int64[Missing <returns> documentation for "M:com.espertech.esper.compat.DateTimeHelper.UtcMillis(System.DateTime)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DateTime. 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