pub fn get_hms_from_timestamp(timestamp: i64) -> (u8, u8, u8)
Expand description

Converts a timestamp into hours, minutes, and seconds.

Arguments

  • timestamp - The timestamp to convert.

Returns

A tuple containing the hours, minutes, and seconds.