Click or drag to resize

DateTimeOffsetHelperTimeFromMillis Method (Int64, TimeZoneInfo)

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,
	TimeZoneInfo timeZone
)

Parameters

millis
Type: SystemInt64
The millis.
timeZone
Type: SystemTimeZoneInfo
The time zone.

Return Value

Type: DateTimeOffset

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

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