TimeUtilToUnixTime Method

Convert from Date object to int with Unix time (seconds since 1-Jan-1970).

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public static int ToUnixTime(
	DateTime dt
)

Parameters

dt  DateTime
DateTime object

Return Value

Int32
Unix time.

See Also