pub fn getDaySeconds(self: EpochSeconds) DaySeconds
Returns the number of seconds into the day as DaySeconds. Use DaySeconds to get information about the time.
self: EpochSeconds
180 181 182
pub fn getDaySeconds(self: EpochSeconds) DaySeconds { return DaySeconds{ .secs = math.comptimeMod(self.secs, secs_per_day) }; }
Returns the number of seconds into the day as DaySeconds. Use DaySeconds to get information about the time.