Function getDaySeconds [src]

Returns the number of seconds into the day as DaySeconds. Use DaySeconds to get information about the time.

Prototype

pub fn getDaySeconds(self: EpochSeconds) DaySeconds

Parameters

self: EpochSeconds

Source

pub fn getDaySeconds(self: EpochSeconds) DaySeconds { return DaySeconds{ .secs = math.comptimeMod(self.secs, secs_per_day) }; }