System::DateTimeOffset::FromUnixTimeSeconds method

DateTimeOffset::FromUnixTimeSeconds method

Convert Unix-time to DateTimeOffset object.

static DateTimeOffset System::DateTimeOffset::FromUnixTimeSeconds(int64_t seconds)
ParameterTypeDescription
secondsint64_tUnix-time (number of seconds elapsed from 1970-01-01).

ReturnValue

Date and time with zero offset.

See Also