core / io.islandtime / Date / fromDaysSinceUnixEpoch
fromDaysSinceUnixEpoch
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun fromDaysSinceUnixEpoch(days: LongDays): Date
Creates a Date from a duration of days relative to the Unix epoch of 1970-01-01.
Parameters
days - the number of days relative to the Unix epoch
Exceptions
DateTimeException - if outside of the supported date range