core / io.islandtime / Date / fromDaysSinceUnixEpoch

fromDaysSinceUnixEpoch

(iosArm64, iosX64, jvm, macosX64) fun fromDaysSinceUnixEpoch(days: LongDays): Date

Create the Date that falls a certain number of days from 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

Return
a new Date