FromUnixTimeSeconds()
DateTimeOffset::FromUnixTimeSeconds(int64_t) method
Convert Unix-time to DateTimeOffset object.
static DateTimeOffset System::DateTimeOffset::FromUnixTimeSeconds(int64_t seconds)
Arguments
Parameter | Type | Description |
---|---|---|
seconds | int64_t | Unix-time (number of seconds elapsed from 1970-01-01). |
Return Value
Date and time with zero offset.
See Also
- Class DateTimeOffset
- Namespace System
- Library Aspose.Slides