pub unsafe fn set_time(
    context: *mut JSContext,
    date_ref: &JSValueRef,
    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