Function get_epoch_start

Source
pub fn get_epoch_start(timestamp: u64) -> u64
Expand description

Normalize current timestamp to the beginning of the current epoch (Monday).