//core/io.islandtime/Date/Companion/fromDaysSinceUnixEpoch
fromDaysSinceUnixEpoch¶
common
fun fromDaysSinceUnixEpoch(days: Days): Date
Creates a Date from a duration of days relative to the Unix epoch of 1970-01-01.
Parameters¶
common
days | the number of days relative to the Unix epoch |
Throws¶
DateTimeException | if outside the supported date range |