Click or drag to resize

DateTimeOffsetHelperTimeFromMillis Method (Int64, TimeSpan)

Gets the datetime that matches the number of milliseconds provided.

Namespace:  com.espertech.esper.compat
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static DateTimeOffset TimeFromMillis(
	this long millis,
	TimeSpan offset
)

Parameters

millis
Type: SystemInt64
The millis.
offset
Type: SystemTimeSpan
The offset.

Return Value

Type: DateTimeOffset

[Missing <returns> documentation for "M:com.espertech.esper.compat.DateTimeOffsetHelper.TimeFromMillis(System.Int64,System.TimeSpan)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int64. 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