Function python_comm::prelude::bj_timestamp[][src]

pub fn bj_timestamp() -> i64
Expand description

北京时间, 时间戳

用法

use python_comm::prelude::*;

let ts = bj_timestamp();
assert!(ts > 1623913021 && ts < 1623913021 + 86400 * 36500);