Click or drag to resize

DevLogDateFromJavaTimestamp Method

Convert a date/time in millseconds since 1970 (in UTC) as used in java and the devlog, into a corresponding .Net DateTime value in the server-local TZ.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static DateTime DateFromJavaTimestamp(
	string millisecondsSince1970UTC
)

Parameters

millisecondsSince1970UTC
Type: SystemString
Floating point string representation of a date/time in millseconds since 1970 (in UTC).

Return Value

Type: DateTime
The corresponding .Net DateTime in server-local TZ, or 1970 if input cannot be parsed as a floating point number.
See Also