pub fn getEpochDay(self: EpochSeconds) EpochDay
Returns the number of days since the epoch as an EpochDay. Use EpochDay to get information about the day of this time.
self: EpochSeconds
174 175 176
pub fn getEpochDay(self: EpochSeconds) EpochDay { return EpochDay{ .day = @as(u47, @intCast(@divTrunc(self.secs, secs_per_day))) }; }
Returns the number of days since the epoch as an EpochDay. Use EpochDay to get information about the day of this time.