pub fn from_seconds(sec: u32) -> (u32, u32, u32, u32) {
        let d = sec / (24 * 3600);
        let h = sec % (24 * 3600) / 3600;
        let min = sec % 3600 / 60;
        let sec = sec % 60;

        (d, h, min, sec)
    }
// we're doing modular arithmetic, treat as integer
we're doing modular arithmetic, treat as integer
we ' re doing modular arithmetic treat as integer
pub fn from_seconds(sec: u32) -> (u32, u32, u32, u32) {
        let d = sec / (24 * 3600);
        let h = sec % (24 * 3600) / 3600;
        let min = sec % 3600 / 60;
        let sec = sec % 60;
        (d, h, min, sec)
    }
pub fn from_seconds ( sec : u32 ) -> ( u32 , u32 , u32 , u32 ) { let d = sec / ( 24 * 3600 ) ; let h = sec % ( 24 * 3600 ) / 3600 ; let min = sec % 3600 / 60 ; let sec = sec % 60 ; ( d , h , min , sec ) }
we're doing modular arithmetic, treat as integer
we ' re doing modular arithmetic treat as integer
sec
u32