quickjs_runtime::quickjs_utils::dates

Function get_time_q

source
pub fn get_time_q(
    context: &QuickJsRealmAdapter,
    date_ref: &QuickJsValueAdapter,
) -> Result<f64, JsError>
Expand description

get the timestamp from a Date object