def Date.to_days

bend-kit-time@0.3.0.0 · time.bend:243

import bend-kit-time@0.3.0.0/time.bend as Time
import Base
import bend-kit-int@0.2.0.0/int.bend as Int

243# Days since 1970-01-01.
244def Date.to_days(d: Date) -> Int.I64:
245  Int.I64.sub(i64(Date.to_z(d)), i64(Z.EPOCH()))

Uses (6)

Used by (3)