Function darkfi::event_graph::util::midnight_timestamp
source ยท pub(super) fn midnight_timestamp(days: i64) -> u64
Expand description
Calculate the midnight timestamp given a number of days.
If days
is 0, calculate the midnight timestamp of today.