pub unsafe fn get_time(
context: *mut JSContext,
date_ref: &QuickJsValueAdapter,
) -> Result<f64, JsError>
Expand description
get the timestamp from a Date object
ยงSafety
When passing a context pointer please make sure the corresponding QuickJsContext is still valid