Click or drag to resize

FormBaseConvertUnixTime Method (String)

Utility to convert a Unix time (Seconds past midnight 1/1/1970) to a DateTime

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public static DateTime ConvertUnixTime(
	string unixTimeStr
)

Parameters

unixTimeStr
Type: SystemString
Unix time as a string

Return Value

Type: DateTime
See Also