FromUnixTime()

DateTime::FromUnixTime(time_t) method

Converts the specified Unix time value to an instance of DateTime class. FOR INTERNAL USE.

static DateTime System::DateTime::FromUnixTime(time_t value)

Arguments

ParameterTypeDescription
valuetime_tUnix time value to convert

Return Value

A new instance of DateTime class representing the same date and time as value

See Also