Function rlink_connector_clickhouse::timestamp_to_tz [−][src]
pub fn timestamp_to_tz(ts: u64) -> DateTimeShanghai
timestamp to DateTime
- Asia::Shanghai.ymd(2020, 11, 11).and_hms(12, 0, 1);
- let naive_dt = NaiveDateTime::from_timestamp(1604995711, 0);