usechrono::{TimeZone, Utc};/// Get a [`usize`] timestamp from the given `year` epoch
pubfnepoch_timestamp(year:u16)->usize{let now =Utc::now().timestamp_millis();let then = Utc
.with_ymd_and_hms(year asi32,1,1,0,0,0).unwrap().timestamp_millis();(now - then)asusize}