Instant.Instant.from_unix: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/instant.bend as Instant Lines 48-53 of bend-time-lib@0.4.0.1/instant.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/instant.bend&start_line=48&end_line=53 import Base def Instant.from_unix(+secs: U32) -> Instant: Instant{ U32.add(U32.div(secs, 86400), Instant.epoch_days()), U32.mod(secs, 86400), 0 } Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mod https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/instant.bend&name=Instant https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/instant.bend&name=Instant.epoch_days