Create a DateTime value from the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC).

Namespace: Org.BouncyCastle.Utilities.Date
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public static DateTime UnixMsToDateTime(
	long unixMs
)
Visual Basic
Public Shared Function UnixMsToDateTime ( _
	unixMs As Long _
) As DateTime
Visual C++
public:
static DateTime UnixMsToDateTime(
	long long unixMs
)

Parameters

unixMs
Type: System..::..Int64
Number of milliseconds since the epoch.

Return Value

A UTC DateTime value

See Also