Clock.time.fields: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/src/clock.bend as Clock Lines 361-365 of ezsys@0.1.0.0/src/clock.bend: https://jend.leeeet.dev/read.txt?path=ezsys@0.1.0.0/src/clock.bend&start_line=361&end_line=365 import Base # year, month, day, hour, minute, second and ISO weekday of seconds since # the epoch, in UTC def time.fields(+secs: U32) -> U32 & U32 & U32 & U32 & U32 & U32 & U32: time.fields.of(time.civil((secs / 86400 : U32)), (secs % 86400 : U32), time.weekday((secs / 86400 : U32))) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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=ezsys@0.1.0.0/src/clock.bend&name=time.civil https://jend.leeeet.dev/definition.txt?path=ezsys@0.1.0.0/src/clock.bend&name=time.fields.of https://jend.leeeet.dev/definition.txt?path=ezsys@0.1.0.0/src/clock.bend&name=time.weekday