This article covers features introduced in SpiderMonkey 17
Clear the cache of calculated local time from each Date object.
Syntax
void JS_ClearDateCaches(JSContext *cx);
| Name | Type | Description | 
|---|---|---|
| cx | JSContext * | Pointer to a JavaScript context from which to derive runtime information. Requires request. In a JS_THREADSAFEbuild, the caller must be in a request on thisJSContext. | 
Description
JS_ClearDateCaches clears the cache of calculated local time from each Date object. Call to propagate a system timezone change.