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