Function unix_minute
Source pub fn unix_minute(minute_offset: i64) -> u64
Expand description
Get the current Unix minute timestamp, optionally offset.
§Arguments
minute_offset - Offset in minutes from now (can be negative)
§Example
ⓘlet now = unix_minute(0);
let prev_minute = unix_minute(-1);