FromUnixTimeSeconds()

DateTimeOffset::FromUnixTimeSeconds(int64_t) method

Convert Unix-time to DateTimeOffset object.

static DateTimeOffset System::DateTimeOffset::FromUnixTimeSeconds(int64_t seconds)

Arguments

ParameterTypeDescription
secondsint64_tUnix-time (number of seconds elapsed from 1970-01-01).

Return Value

Date and time with zero offset.

See Also