Skip to main content

component_of

Function component_of 

Source
pub fn component_of(ms: i64, which: u8) -> i64
Expand description

Extract one calendar component (which: 0=year .. 6=millisecond) from an epoch-millisecond timestamp.